# p-value

1. ### Mixing lasso with OLS

Hi, I am looking at a data set of 45 continuous IV and 1 DV, trying to find an acceptable regression model. I tried the lasso with cross-validation and ended up with about 10 non-zero coefficients in the best model. However, when I ran the sanity test of building the OLS model with the 10...
2. ### how to measure p-value if dependent and independent come from different questionnaire

I have in 1 dataset data from 1 questionnaire for students (which leads to the dependent: autonomy-score) and 1 questionnaire for teachers (which leads to the independent: autonomy-support-score). The independent is dichotomized in negative scores and positive scores. Can anyone help me...
3. ### Confidence intervals vs. p -value

Hi, we just had a very interesting discussion about the role of confidence intervals and p values in determining significance and I realised there is a point that is quite unclear to me, so, here is the question: I am considering a simple situation, a two sample proportion test, say. For each...
4. ### Significant difference between frequency of words in a text

Hi, I guess it is a very basic question. Imagine two text samples, e.g. one text on someone's mother and the other on father. Text about mother includes word love for 80 times (1% of all words) and bout father for 50 times (0.8% of all words). Can we establish if this difference is significant...
5. ### Need help with medical study

Hi, I'm writing a medical paper on asthma and I'm afraid I 've reached a point where I am unconfident of my statistics knowledge. I am hypothesizing that there is a relationship between elevated concentrations of a substance in the blood (we will call it X) and severity of asthma...
6. ### Can a relative risk and odds ratio differ in p-value?

With increasing incidence of the outcome, odds ratios tend to overestimate relative risks. I was wondering whether they also start to differ in p-values. So my question is: could there be a situation where the (unadjusted) odds-ratio reaches statistical significance, but the (unadjusted)...
7. ### How to calculate p-value of two-sample t-test

I have 2 independent data sets, and I know the following about each of them: mean, SD, and sample size. I calculated the t-statistic just fine my.t.test<-function(mu1, mu2, sd1, sd2, n1,n2){ t=(mu1-mu2)/sqrt((sd1)^2/n1+(sd2)^2/n2) return(t) } I know that the degrees of freedom...
8. ### p-value in a two-tailed hypothesis test

how do i find the p-value of a two-tailed hypothesis test based on a large sample if I have a test staistic eqaul to 0.95
9. ### Model selection for logistic regression, comparing p-value approach, BIC and CV.

Hi, I need to write a discussion on three approaches of model selection; p-value, Bayes factors (using BIC) and leave-one-out cross validation. The p-value is not preferred, statiscal significance depends on sample size, p-value is based on imaginary data, depends on the intentions of the...
10. ### p-value associated with Kruskal Wallis with multiple comparison?

I have a data set that shows the differences between 3 different controllers of a biomechanical system on the same performance metric (specifically, I measure each controller's performance on a set of N tasks, and record the percentage of tasks that achieve success (i.e. the controlled segment...
11. ### calculating p-value from resampling of the null distribution

Hi all, i am a PhD student in Bioinformatics and i'm dealing with some statistics issue in my reasearch; i was hoping you could lend me a hand :D I am dealing with a pool of datapoints (let's call it Q). I selected a subset of Q according to some particular characteristics, i will call...
12. ### Seeing a trend in my SPSS T-tests, is this normal?

Hello all. While attempting to complete my homework for my Stats class on SPSS I noticed on 3 out of the 4 problems I've done so far, I have gotten .000 for the p-value. Two were Independent T-tests and the other was a One-sample T-test. Is there something that I'm missing or could be entering...
13. ### Removing interaction effect on 2-way ANOVA?

Hello, I've run a 2 way ANOVA of my research results and got these 3 p-values: A=0.001, B=0.069, and A*B=0.167. My professor now wants me to remove the interaction effect from my analysis. Does anyone know how I can do this? In the program I am using (SigmaPlot), there is no option for removing...
14. ### Can someone help me with finding the P-Values for these problems?

I have a test tomorrow and am not understanding this section very well. I need help on two problems if someone can explain how to do them! Pleaseeee! I have the answers but i want to understand HOW to do them. Obviously i don't expect anyone to do both problems for me. I know that's asking a...
15. ### Multiple comparison test, with ambiguous labels/ranks

In a clinical study, I have patient's health condition labeled as grade 1, 2, or 3. Some patients are labeled as "Either 1 or 2" by the doctor, meaning the doctor considers both grade 1 and 2 as valid descriptions of the patient's health condition. When performing say a Kruskal-Wallis test...
16. ### Finding the p-value for two samples which are not normally distributed.

Hello, I am doing medical research and I have gathered data for two groups of patients with different characteristics. The data for each of the groups is not normally distributed. Let's say the null hypothesis is that there are no differences between the two groups, how can I come up with the...
17. ### Effect Coding: p-value of reference category

Hi, I fit a regression model with effect coded variables. I'm well aware of how to compute the value for the reference category but I have absolutely no idea how I can possibly compute the p-value or standard deviation for it. I really hope anyone can help me in this matter.... Thank...
18. ### Help with R an KsTest

Hi, Some days ago i tried to do a KSTest on R, but i didn't get the answer that i needed. In Fact i didn't understand why this test gives me the same P-value for a True or False Hypotesis. I tried with an Normal distribution testing a normal distribution, and i tried a Uniform distribution...
19. ### Regression Model is not full rank

Hi all, I am trying to detect relationship of crop yield at the end of the growing seasson (1 dependent variable) using amount of precipitation in May, June, July, May+June, June+july, Temperature in May etc. The problem is that I can't get p-values for many of these variables because of the...
20. ### Calculating probability given mean and standard deviation

Hi I have looked around for this post on the forum but could not find one and have spent a while attempting this question: Given that X is normally distributed with mean 100 and standard deviation 9 and given a sample size of 16, compute the following: 1) mean and variance of X-dash 2)...