✍️ Get Writing Help
WhatsApp

Uncategorized

Logistic regression equation

Accident data, similar to Section G, are presented here. This time. we recorded accidents that occurred in the past year, based on the presence of a drinking problem and whether the driver had one or more accidents in the previous year. Run a forward stepwise logistic regression on these data, and write the resulting logistic […]

Logistic regression equation Read More »

The predictor variable

Repeat problem 9.8, except this time create your own dummy variables (i.e., do not use a CLASS statement). Make the reference level for SES ‘2-Medium’ as before. Problem 9.8 Run the following program to create a SAS data set called SMOKING. Outcome values of 1 represent cases (those with lung disease) and outcome values of

The predictor variable Read More »

Sensitivity versus

Add the necessary statements to your logistic regression in problem 9.8 to produce an ROC curve (sensitivity versus 1 – specificity). Use the OUTROC MODEL option to create a data set so you can plot the curve. Use PROC GPLOT (or PROC PLOT) to generate this curve.

Sensitivity versus Read More »

A scree plot

Run the following program to create the data set PRINCIPAL: Write the statements necessary to run a factor analysis and produce a scree plot. Looking at this plot, decide how many factors you want to maintain, and add an option to the procedure to extract this many factors and to perform a VARIMAX rotation

A scree plot Read More »

Rotation

Run a factor analysis on the questionnaire data in Chapter 3, Section B. Use only the variables PRES, ARMS, and CITIES. Request two factors, VARIMAX rotation method, and set the PRIORS estimate of conununality to SMC. Include the option to generate a scree plot.

Rotation Read More »

Non-oblique rotation

Revise your program from problem 10.2 to perform a non-oblique rotation and compare the factor loadings with the results from 10.2. Output a data set containing the factor scores. Use PROC PRINT to list out the first 10 observations from this data set (hint: use the data set option 088=10). Compare these scores with a

Non-oblique rotation Read More »

Student Data

Given the following answer key: Write a SAS program to grade the six students whose data are shown here. Provide one listing in Social Security number order and another in decreasing test-score order. Compute both a raw score (the number of items correct) and a percentage score. Student Data:

Student Data Read More »

Stripped

Given the five lines of data: Write a SAS DATA step to read these data, assigning the four data values to the variables X, Y,C, and Z. Variable C should be a character variable. (Note that the value of variable C in the last line is nine characters.) The double quotes should be stripped off

Stripped Read More »

The quotes

Write a SAS DATA step to read the following lines of data. Notice that two commas in a row indicate a missing value, and you want to strip off the quotes from quoted strings (remember there is an INFILE option to do this). The variables are NAME (up to 20 characters), AGE, HEIGHT, and WEIGHT.

The quotes Read More »

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102