Question
In this assignment you are asked: 1. to obtain basic descriptive statistics and plots (histograms, barplots and/or boxplots, as appropriate), for four variables, described below.
In this assignment you are asked: 1. to obtain basic descriptive statistics and plots (histograms, barplots and/or boxplots, as appropriate), for four variables, described below. to obtain a boxplot for 'feelnerv' by 'hometown'. to standardize the ordered variables. (Obviously, this would make no sense for a nominal variable.) The syntax that produced your results must be handed in. You do not have to, and should not, hand in your output. The syntax you hand in should be clean, that is, it should contain no extra commands, and it should contain no errors. (40 points) 2. to explain, for each variable, its level of measurement. Please treat them in this order: age, hometown, mixedsex and feelnerv. Note that guessing right will get you no marks. The points will be given for your explanations of why you have chosen specific levels. (12 points) 3. to describe the central tendency, dispersion and shape of each variable. Your description should include the numeric value of appropriate measures, with whatever else you need for a given variable. You should report everything for a specific variable at once, one variable at a time, in the order: age, hometown, mixedsex, and feelnerv. As appropriate, you can and should use more than one statistic to describe central tendency and dispersion. You can describe the shape of the distributions verbally. (16 points) 4. to explain the advantages and disadvantages of the measures of central tendency and of dispersion used. You only need to explain each measure once, however many times you have used it. (18 points) 5. to explain the meaning of one single-variable boxplot you have requested, and the meaning of the two-variable boxplot. (10 points) 6. to explain, for a standardized variable, what is meant by scores of -.57, 0.0, and 2.10. (6 point)should cover the necessary points. 6. to create a mean-and-standard deviation table, using the ordered variables from among those you have worked with. The format of such tables is discussed in the text on pages 83 - 85. (6 points) Note that there will be a penalty for including a non-ordered (nominal) variable. Accessing the Variables The variables to be used come from the file 'as1_sl.rdata', which can be downloaded from the course Brightspace page. When you have downloaded the file and placed it where you can access it, you need to start up R, then get the data file. You can get the data file by clicking on File > Load Workspace , paging through to the directory where you have placed it, then clicking on the filename (as1_sl.rdata). You can also obtain the file by keying in the 'load' command, but pointing and clicking is easier. When you do, R creates the 'load' command for you. Usually we point and click because it is simpler. Variables age - in years hometown - placed in 6 categories, coded as follows 1. Windsor-Essex 2. Chatham-Kent 3. Greater Toronto 4. Elsewhere in Ontario 5. Elsewhere in Canada 6. Outside Canada
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