Monday 26 October 2015

Data Management and Visualization: Second Assignment - Running Your First Program

I thought this was going to be much harder than it actually was! Just looking at code, that we had to eventually type, just does not seem to make any sort of sense to my brain. However, once watching the videos and taking it one step at a time, it was much easier to produce.

My quest for this overall assignment is to assess the desire to go to college, and how or if that is connected to parents view of college and if they attended college. I used the Adolescent Health data provided as part of the course.

Below are my responses to three questions asked in our assignment.

1.) MY PROGRAM


1 - LIBNAME mydata "/courses/d1406ae5ba27fe300 " access=readonly;
2 - DATA new;set mydata.addhealth_pds;
3 - label h1ee1="How Much Do You Want To Go To College?"
h1ee2="How Likely Is It That You Will Go To College?"
h1nm4="How Far Did Bio Mom Go?"
h1nf4="How Far Did Bio Dad Go?"
h1rm1="How Far Did Mom Go?"
h1rf1="How Far Did Dad Go?";
4 - proc sort; by AID;
5 - proc freq; tables h1ee1 h1ee2 H1nm4 h1nf4 h1rm1 h1rf1;
6 - run;


2) MY OUTPUT VARIABlES AS FREQUENCY TABLES


The FREQ Procedure
How Much Do You Want To Go To College?
H1EE1FrequencyPercentCumulative
Frequency
Cumulative
Percent
12333.582333.58
21772.724106.30
366410.21107416.51
484212.95191629.46
5453569.73645199.19
6140.22646599.40
8390.606504100.00
How Likely Is It That You Will Go To College?
H1EE2FrequencyPercentCumulative
Frequency
Cumulative
Percent
13515.403515.40
22944.526459.92
389913.82154423.74
4134320.65288744.39
5356054.74644799.12
6140.22646199.34
8430.666504100.00
How Far Did Bio Mom Go?
H1NM4FrequencyPercentCumulative
Frequency
Cumulative
Percent
1430.66430.66
21141.751572.41
360.091632.51
42323.573956.07
5380.584336.66
6410.634747.29
7761.175508.46
8871.346379.79
9270.4266410.21
11330.5169710.72
12300.4672711.18
9630.0573011.22
97576488.62649499.85
98100.156504100.00
How Far Did Bio Dad Go?
H1NF4FrequencyPercentCumulative
Frequency
Cumulative
Percent
11081.661081.66
22493.833575.49
3130.203705.69
475711.64112717.33
5570.88118418.20
6821.26126619.46
71742.68144022.14
83244.98176427.12
91161.78188028.91
111892.91206931.81
12961.48216533.29
9620.03216733.32
97428165.82644899.14
98560.866504100.00
How Far Did Mom Go?
H1RM1FrequencyPercentCumulative
Frequency
Cumulative
Percent
12634.042634.04
25688.7383112.78
3410.6387213.41
4181127.84268341.25
52173.34290044.59
64266.55332651.14
777011.84409662.98
8124119.08533782.06
95127.87584989.93
1070.11585690.04
111792.75603592.79
12420.65607793.43
9640.06608193.50
973705.69645199.19
98530.816504100.00
How Far Did Dad Go?
H1RF1FrequencyPercentCumulative
Frequency
Cumulative
Percent
12193.372193.37
23795.835989.19
3270.426259.61
4130220.02192729.63
51302.00205731.63
62543.91231135.53
75127.87282343.40
892214.18374557.58
95358.23428065.81
1090.14428965.94
111552.38444468.33
12500.77449469.10
9670.11450169.20
97195230.01645399.22
98500.77650399.98
9910.026504100.00

3) A FEW SENTENCES DESCRIBING MY FREQUENCY DISTRIBUTIONS

Most of the data results are easy to understand, as there is so much repetition in the responses. I was working with questions who's answer results were placed on scales (1 to 5), or for grades completed making a review of the data reasonably simple. 

In the first two tables 1 is low, and 5 is high, 6 is refused to answer, and 8 is don't know. 

In the rest of the charts each number represents a grade (1st grade through 12th grade); however there are a couple responses that vary from this logical sequence including: 96 = refused, 97 = legitimate skip, 98 = don't know, 99 = not applicable. 


No comments:

Post a Comment