Skip to content
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

Open
malmufre opened this issue Jul 13, 2020 · 4 comments
Open

Lab 2 #2

malmufre opened this issue Jul 13, 2020 · 4 comments

Comments

@malmufre
Copy link

malmufre commented Jul 13, 2020

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:

  • Question 4 :Compare the willingness to take on personal debt for male and female entrepreneurs.
    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:

  • Question 6 :Compare age at the time of nonprofit formation for male and female entrepreneurs.

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!

@JayCastro
Copy link

I thought that if the p value is less than .05 it is significant so I did the opposite of what you did.

@JayCastro
Copy link

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?

@CamarenaL
Copy link
Collaborator

@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.

@CamarenaL
Copy link
Collaborator

@JayCastro for Question 8A. You only need to use the 7 contrasts.
Question 8: Based upon these seven contrasts, would you conclude that the resources male and female nonprofit entrepreneurs have at the time of founding were equivalent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants