Conduct a t-test comparing the mean age

Assignment Help Applied Statistics
Reference no: EM133330131

For this assignment you will use the NHANES17 dataset (you may have renamed this dataset).

You will use the following new variables for this homework assignment: hsq500 hsq510 hsq520, in addition to variables described below. All categorical variables should have value labels. Exclude refused, not ascertained, and don't know responses for all variables.
Please refer to the documentation: Demographics andHealth conditions.

Question 1) Create a macro (called condition) with these 3 variables in the health conditions dataset.
HSQ500 - SP have head cold or chest cold
HSQ510 - SP have stomach or intestinal illness?
HSQ520 - SP have flu, pneumonia, ear infection?
Use this macro to replace the 7 (refused) and 9 (don't know) values with missing (.) values. Also change the No values from 2 to 0. Add value labels for 1 (yes) and 0 (no). Create frequency tables for the 3 variables (1 variable per table)
Paste your code and frequency tables

Question 2) Use the variables that you recoded in #3 to create a new variable (condition_count) with the categories below. Add value labels and a variable label.(HINT: if #1 is correct, you should be able to sum the values for the 3 variables).
0: has none of these conditions
1: has 1 of these conditions
2: has 2 of these conditions
3: has 3 of these conditions
Create a frequency table for the new variable

Question 3) Run a chi square test and Fisher's exact test with gender (in the rows) and condition_count in the columns. Limit the analysis to people between 45 and 65 years of age.

Question 4) Conduct a t-test comparing the mean age between people who had zero conditions (condition_count=0) and people who had three conditions (condition_count=3).

Question 5) Run an ANOVA with age (ridageyr) as the continuous variable and the variable that you created in #2(condition_count) as the categorical variable. Include the means for each group in your analysis and the Scheffe's post hoc tests.

Question 6) Run both a Pearson's correlation analysis and a Spearman's rank correlation analysis (with correlation coefficients and p-values). Include age (ridageyr), ratio of family income to poverty (indfmpir), and number of people in the household (dmdhhsiz). Limit the analysis to married females.

Attachment:- Biostatistical Programming.rar

Reference no: EM133330131

Questions Cloud

Discuss the tools and strategies used to coerce these groups : discuss the tools and strategies used to coerce these groups. What are they and why are these tools so effective? To what extent do the coerced groups accept
Case study of the decentralization of health and education : Critique paper about the case study of the decentralization of health and education services in the Philippines
Create a print ad for a selected magazine or a storyboard : Create a print ad for a selected magazine OR a storyboard (scene by scene plan) for a video ad. Topic of your choice - school appropriate though!
Why did the protest take place what was inciting incident : Why did the protest take place? What was the inciting incident? What is the background to that incident? Who organized the protest? Who were the protesters?
Conduct a t-test comparing the mean age : Biostatistical Programming Conduct a t-test comparing the mean age between people who had zero conditions and people who had three conditions
How prototype effect may operate in the way language affects : Consider your own food ways. Pick 3 examples and give a brief explanation their inside meaning, cultural origins or significance
How the new advertising industry is defining your identity : How the New Advertising Industry Is Defining Your Identity and Your Worth The Four-Letter Code to Selling Just About Anything: What Makes Things Cool?
How will the style of speech genre influence the reader : Who will speech genre reach? What parts of speech genre will help you express your ideas to your intended readers/viewers? How will the style of speech genre
How is physical violence a good example of how protests : How is physical violence a good example of how protests might degenerate? How does this reflect King's views? How is the freedom of white people inextricably

Reviews

Write a Review

Applied Statistics Questions & Answers

  Hypothesis testing

What assumptions about the number of pedestrians passing the location in an hour are necessary for your hypothesis test to be valid?

  Calculate the maximum reduction in the standard deviation

Calculate the maximum reduction in the standard deviation

  Calculate the expected value, variance, and standard deviati

Calculate the expected value, variance, and standard deviation of the total income

  Determine the impact of social media use on student learning

Research paper examines determine the impact of social media use on student learning.

  Unemployment survey

Find a statistics study on Unemployment and explain the five-step process of the study.

  Statistical studies

Locate the original poll, summarize the poling procedure (background on how information was gathered), the sample surveyed.

  Evaluate the expected value of the total number of sales

Evaluate the expected value of the total number of sales

  Statistic project

Identify sample, population, sampling frame (if applicable), and response rate (if applicable). Describe sampling technique (if applicable) or experimental design

  Simple data analysis and comparison

Write a report on simple data analysis and comparison.

  Analyze the processed data in statistical survey

Analyze the processed data in Statistical survey.

  What is the probability

Find the probability of given case.

  Frequency distribution

Accepting Manipulation or Manipulating

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd