Question

1) An education researcher surveyed 1000 people about their age and number of years of schooling....

1) An education researcher surveyed 1000 people about their age and number of years of schooling.

a. Would it be appropriate to use a test for homogeneity or independence? Briefly explain why.

b. Use the data in “education-by-age.csv” to test the hypothesis of no relationship between age and amount of schooling.

For question 1B could you just tell me the sequence of r code inputs I need to answer the question :)

Homework Answers

Answer #1

a)Yes , You can use a test for homogeneity or independence because age and number of years of schooling are two independent attributes . For testing of two relation between two independent attributes , we always use chi-square test .

b) Construct Table of  age and number of years of schooling.  

Let , The freq. be a1,a2,a3,a4,b1,b2,b3,b4

a1,a2,a3,a4 are entries in first row

b1,b2,b3,b4 are entries in second row

i.e there are 2 rows & four column

Code for R-software

>x=c(a1,a2,a3,a4,b1,b2,b3,b4)

>m=matrix(x,byrow=2,ncol=4) { You have to write your no. of rows & no. of column }

>chis.test(m)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
A consumer products researcher randomly surveyed 800 people and asked them if they try to avoid...
A consumer products researcher randomly surveyed 800 people and asked them if they try to avoid eating fast food. Of the 455 respondents who were 34 or younger, 191 said they did. Of the 345 who were 35 or older, 180 said they did. Use Minitab to test at the 1% level for a difference in fast food avoidance between these two age groups. Interpret the test results in the context of the data and the question being studied. How...
A consumer products researcher randomly surveyed 900 people and asked them if they try to avoid...
A consumer products researcher randomly surveyed 900 people and asked them if they try to avoid eating fast food. Of the 505 respondents who were 34 or younger, 199 said they did. Of the 395 who were 35 or older, 186 said they did. Use Minitab to test at the 1% level for a difference in fast food avoidance between these two age groups. Interpret the test results in the context of the data and the question being studied. How...
A researcher is interested in whether the number of years of formal education is related to...
A researcher is interested in whether the number of years of formal education is related to a person's decision to never smoke, continue to smoke, or quit smoking cigarettes. The data below represent the smoking status by level of education for residents of the United States 18 years or older from a random sample of 400 residents. Round all numeric answers to four decimal places. Smoking Status Education Level Current Former Never Less than high school 36 18 34 High...
A researcher is interested in whether the number of years of formal education is related to...
A researcher is interested in whether the number of years of formal education is related to a person's decision to never smoke, continue to smoke, or quit smoking cigarettes. The data below represent the smoking status by level of education for residents of the United States 18 years or older from a random sample of 300 residents. Round all numeric answers to four decimal places. Smoking Status Education Level Current Former Never Less than high school 26 14 26 High...
(1) Construct the following table that summarizes the number of people who have car accidents in...
(1) Construct the following table that summarizes the number of people who have car accidents in a school.(do question(2) and using R I need R code)thank you Age Accidents 18-24 33 25-29 18 30-34 17 35-39 5 No Accidents 124 94 109 60 >40 2 30 (2) Use the Chi-Square test to conclude if the group (Accidents and No Accidents) and the Age range effects are independent. Test by using α= .10. (using R)
According to the American Time Use Survey, the mean number of hours each day Americans age...
According to the American Time Use Survey, the mean number of hours each day Americans age 15 and older spend eating and drinking is 1.22. A researcher wanted to know if Americans age 15 to 19 spent less time eating and drinking. After surveying 50 Americans age 15 to 19 and running the appropriate hypothesis test, she obtained a P-value of 0.0329. State the null and alternative hypothesis this researcher used. This is a ______ -tailed test since....(complete this sentence)....
To investigate the relationship between the number of years of education of post-high school students (YRSED),...
To investigate the relationship between the number of years of education of post-high school students (YRSED), their high school scores (HSSCORE), the average hourly wages (WAGES), and the unemployment rates (UNEMP), a researcher specified the estimated model: YRSEDUC(I)=7.4451+0.1104HSSCOREI+0.0906WAGESI-0.0391UNEMPI+0.3361BLACKI                 (0.523)    (0.006) (0.048) (0.022) (0.134) R2 = 0.269 , SER=1.556 (values in parentheses are the standard error of coefficients, respectively) The definitions and units of measurement of the variables are as follows: YRSED - the actual number of years of education...
6.36 Diabetes and unemployment: A 2012 Gallup poll surveyed Americans about their employment status and whether...
6.36 Diabetes and unemployment: A 2012 Gallup poll surveyed Americans about their employment status and whether or not they have diabetes. The survey results indicate that 1.5% of the 47,774 employed (full or part time) and 2.5% of the 5,855 unemployed 18-29 year olds have diabetes. (a) Create a two-way table presenting the results of this study. Diabetes No Diabetes Employed Unemployed (b) State appropriate hypotheses to test for independence of incidence of diabetes and employment status. H0: μdiabetes=μemployed Ha:...
Question 15 (1 point) A USA Today article claims that the proportion of people who believe...
Question 15 (1 point) A USA Today article claims that the proportion of people who believe global warming is a serious issue is 0.63, but given the number of people you've talked to about this same issue, you believe it is less than 0.63. The hypotheses for this test are Null Hypothesis: p ≥ 0.63, Alternative Hypothesis: p < 0.63. You take a random sample and perform a hypothesis test, getting a p-value of 0.5939. What is the appropriate conclusion?...
A study was done to look at the relationship between number of movies people watch at...
A study was done to look at the relationship between number of movies people watch at the theater each year and the number of books that they read each year. The results of the survey are shown below. Movies 5 8 8 8 1 5 5 9 4 Books 6 0 0 0 7 6 3 0 3 Find the correlation coefficient: r=r=    Round to 2 decimal places. The null and alternative hypotheses for correlation are: H0:H0: ? r μ ρ  ==...