Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Let s pretend you will be presenting results from the Partnership for Girls Study at the American Public Health Association ( APHA )
Lets pretend you will be presenting results from the Partnership for Girls Study at the American Public Health Association APHA Meeting this year. There are many interesting focal relationships you can investigate with these data, but there is only room for one analysis. Review the study survey posted on Camino to help you get familiarized with the type of data available.
What is a focal relationship you would be interested in exploring with these data? Discuss this as theoretical constructsideas
What variable would you use as your independent variable? That is how would you operationalize the independent variable?
What variable would you use as you dependent variable? That is how would you operationalize the dependent variable?
Open the Partnership for Girls data. For each of the following variables, answer each of the following questions: a What type of variable is it eg continuous, discrete, dichotomous, nominal, or ordinal? b Describe the variable label.
GHT
GQPA
GQPAK
PAHomeOpp
Use the describe and tab commands to help you complete these questions.
describe variablename
tab variablename, m
Provide information about each variables numerical mapping. a For continuous andor discrete variables, provide the range of responses. b For categorical variables, provide information on the value labels of each category.
GHT
GQPA
GQPAK
PAHomeOpp
For categorical variables, you will use the describe command again to determine the name of the value label. Once you find the value label name, run the label list command to get information on the actual value labels. Below is some sample code.
describe variablename
label list valuelabel
For continuous variables, you will use the summarize command to view the range of response.
summarize variablename
Choose a categorical variable from the list of variables you have been reviewing in Q Q Create a frequency table using the tab Take a screenshot of your results and include it in your document. What does the table suggest about this particular variable? Interpret the results in your own words.
We sometimes have several variablesitems in a dataset that are measuring a particular construct of interest. In these situations, it is best to combine these variables and create a composite score of the variablesitems eg total score Carefully review the variables in the Partnership for Girls Data. Feel free to review the study survey. Provide one example of any variables that look like they should be combined into a single composite variable. List the variable names and their labels. Briefly explain what you think these items are collectively measuring.
We are interested in creating a variable that measures the extent the girls in our sample receive support to participate in physical activity. Key variables of interest, include: GQSS GQSS GQSS
Collectively, what are these variables attempting to measure?
Describe the numerical mapping of these variables.
Lets create a new variable called friendsupport using the three items above. Use the code below. Estimate a frequency table of the new variable hint: you will use the tab command What does it look like now? What type of variable did you just create eg categorical, continuous, discrete, etc.
egen friendsupport rowmeanGQSS GQSS GQSS
What does a higher score on the friendsupport variable mean?
After creating the new calculated variable, what kind of label might you give it to describe what it is Be as craftycreative as youd like! Now label the variable using the following code and estimate another frequency table using the tab command. Include another screenshot of your result. What changed now?
label variable friendsupport insert your label
Congratulations! You now have some experience using Stata! Are there any things that you found helpful while doing this lab? What are things that you would like to see in the future to better support you as you work on these lab assignments in class?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started