Lab homework using Stata Software. Document attached below
PartII. Stata
A. Make a New Variable (using what you learned in Lab A)
Use gss2016.dta
1. Use the continuous variable “age” to create a new ordinal variable called “age_cat”. The new variable should be coded as follows: age_cat = 1 if the person is 18-32 years old; age_cat=2 if the person is 33-67 years old; age_cat = 3 if the person is 68 years old or older. Use the method you learned called “generate and recode.”
a. Copy down the commands you used to create the new variable here:
b. Run a “tabulate” on the new variable and cut-n-paste the new output here:
B. From the Highlights Video and readings
Use gss2016.dta
1. Use the tab command on the variable astrosci. Cut-n-paste the command and results/output here:
2. The variable astrosci measures the degree to which the respondent thinks astrology is scientific.
a. What level-of-measurement is astrosci?
b. Does it make sense to use the mean value of astrosci as a measure of central tendency? Why or why not? If so, what is the mean value?
c. Does it make sense to use the median value of astrosci as a measure of central tendency? Why or why not? If so, what is the median value?
d. Does it make sense to use the mode value of astrosci as a measure of central tendency? Why or why not? If so, what is the mode value?
3. Use it to find the mean, the median, and the standard deviation. The variable hrs1 measures the number of hours the respondent worked in the past week. Use the summarize command on hrs1. Cut-n-paste the command and output/results here:
4. What is the mean number of hours worked the previous week among this sample?
5. Interpret the sd in a sentence like we did in the lecture part of class.
Use ANES2016.dta
The ANES2016 data is the 2016 American National Election Survey. This survey is representative of all voters in the 2016 election. This survey uses the “feelings thermometer” survey tool to gauge the respondents’ feelings towards certain people, groups, or issues. Respondents are asked to express their feelings in terms of temperature, with 0 indicating very cold and 100 indicating very warm. Ratings below 50 indicate relative dislike/negative and ratings above 50 indicate relative like/positive.
V161086: feeling thermometer toward Hillary Clinton
V161093: feeling thermometer toward Bill Clinton
1. Use the summarize command on V161086 and then on V161093. Note that we are including some negative values, but that’s OK for now, just ignore it). Cut-n-paste the two commands and results/output here:
2. We will use the summarize command on both of these variables, but we want to see more than the typical summarize output. So – we will tell Stata to give us more detail using the “detail” option. Use the following commands “summarize V161086, detail” and “summarize V161093, detail” mean, standard deviation, range, and values for the 25th, 50th, and 75th percentile. Cut-n-paste the commands and results/output here:
3. Using the mean and median, write a few sentences that describe how, on average, voters feel about Bill and Hillary. Be sure to indicate who voters are more positive about – Bill or Hillary?
4. The value at the 25th percentile tells us that 25% of the voters gave responses that are lower than that value.
a. What is the value feelings thermometer value at the 25th percentile for Hillary?
b. What is the value feelings thermometer value at the 25th percentile for Bill?
c.
Write a few sentences that compares the 25th percentile feelings thermometer values for Bill and Hillary? What does that suggest about differences between voters in their feelings towards Bill and Hillary.
C. Summarize
1. Make a list of the Stata commands used to analyze:
a. Continuous/interval-ratio videos
b. Categorical variables – binary
c. Categorical variables – ordinal
d. Categorical variables – nominal
We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.
Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.
Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.
Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.
Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.
Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.
We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.
Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.
You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.
Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.
Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.
You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.
You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.
Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.
We create perfect papers according to the guidelines.
We seamlessly edit out errors from your papers.
We thoroughly read your final draft to identify errors.
Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!
Dedication. Quality. Commitment. Punctuality
Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.
We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.
We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.
We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.
We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.