-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lab 2 #2
Comments
I thought that if the p value is less than .05 it is significant so I did the opposite of what you did. |
I have a question for Question about Question 8A. Do we count all the comparison groups or only the ones we observed? So is it .05/7 or .05/15? |
@malmufre I know we discussed the problem outside of this forum but for other's that check this thread. @JayCastro is correct: if a p-value is less than 0.05 (p < 0.05), then it is statistically significant. If it is above 0.05, we would report that it is not statistically significant. |
@JayCastro for Question 8A. You only need to use the 7 contrasts. |
Hello,
For Questions 1 through 5 I have created the table according to variables , did the Chi -Square test , and stated there was no stat. significance if p-value of Chi-square test was less than 0.05.(I did not use t.tests in these questions since variable is a factor)
Here's an example:
Code
q4 <- table( dat$ take.on.debt, dat$gender ) q4 %>% prop.table( margin=1 ) %>% round(2) %>% pander()
chisq.test( q4, simulate.p.value=TRUE, B=10000 )
And since p-value = 0.06749, this was my answer:
** Answer** : We do observe differences between male and female entrepreneurs in regards to taking on personal debt.The contrast was significant at the alpha=0.05 level (chi-square p-value 0.06749).
Am I doing this correctly?
As for numeric Factors , I have done this:
q6<- table( dat$age, dat$gender ) q6 %>% prop.table( margin=1 ) %>% round(2) %>% pander()
t.test( age ~ gender, data=dat )
We do not observe differences between male and female entrepreneurs in regards to age.The contrast was not significant at the alpha=0.05 level (chi-square p-value 0.001577).
Am I on the right path?
Thanks!
The text was updated successfully, but these errors were encountered: