Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need answer of the following. 3. Use the salary-a. sav data file and the salary-b.sav data file to determine if current salaries (salnow) are related

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Need answer of the following.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
3. Use the salary-a. sav data file and the salary-b.sav data file to determine if current salaries (salnow) are related to gender (sex) and minority status (minority). a. Develop the appropriate research questions for main effects and interaction. b. Using salary-a.sav, evaluate your data to ensure that they meet the necessary assumptions. c. Use salary-b.sav, which includes the transformed variable of salnow3, to run the appropriate analyses and interpret your results. d. Write a results statement.. Use of nested constructs that must comprise: o while loop o for loop o if-elif-else . Use of full validation on every input (excluding student id) . Output that is understandable to a user . Code clear and readable supported with appropriate in- line commentary1. The table below presents means for the number of hours worked last week (hrs /) for individuals by general happiness (happy) and job satisfaction (satjob2). Using the data below, draw a line plot. Use the line plot to complete the following steps to estimate the factor main effects on the dependent varia- ble and the interaction between factors. Very Satisfied With Job Not Very Satisfied With Job Very happy 43 40 Pretty happy 42 42 Not too happy 38 401. In a study. the effects of varying two factors A and B on a response I were observed. Factor A has two levels {A1 and Ag}. Factor B has tluee levels [31.32. and By]. For each combination of [actor level. one response value was observed. The observed data are recoirled in the table below. FactorB FactorA .31 B? .33 A1 32 23 33 A2 4o 33 41 {a} We will t an additive ANUVA model of the form Xij =11 + [If + :3]- + tit-J- Find the estimates :1. (31.112.31.32 and 3;; for these data. {b} Below is an interaction plot of the raw data. Is is constructed by placing [actor B's levels on the m-axis. the response on the y-axis and use either different colors or different line styles to connect the three clots corresponding to levels 1 and 2 of factor Alfie usually choose to put the factor with more levels on the it-axis. 1|v\"."hich line corresponds to level A1 of factor A? {c} Using your estimated factor effects (it. (is, 33-} from part {a}. compute the predicted response values .n. X = +f1i+j and draw an interaction plot using these tted values. {d} Explain why the two lines are parallel in the line plot of the fitted values. 1. Identifying main effects and interaction The results of a twofactor, independentmeasures, equal n experiment are summarized in the following matrix. The numerical value in each cell is the mean score obtained from the sample in that treatment condition. Compute the overall means for the scores in Al, the scores in A;, the scores in BI, and the scores in 3;. Enter each of the means to the right of the appropriate row or below the appropriate column in the matrix. 3' 3 || 4:. 3 || ,_. o 3 II \\J Make a graph of the results of the experiment. Use the blue points (circle symbol) to plot the means for level 1 of factor A (A). Use the orange points (square symbol) to plot the means for level 2 of factor A (A2). (Note: Line segments will automatically connect your points.) ? 10 O factor A, level 1 factor A, level 2 Treatment Mean O N + Level 1 Level 2 factor B Use the overall means and your graph to decide whether there appears to be a main effect for factor A, a main effect for factor B, and an interaction.Yes No Main effect for factor A? O O Main effect for factor B? O O Interaction? O O3. Problem Specification: A module has one single assignment in it. The single assignment has three elements that are submitted over the duration of the module. The three elements form the complete single assignment submission. At the end of the module, students may have submitted one element or two elements or all three elements as part of the assignment. Every element that is submitted is given a grade and how many days late it was submitted. Students who do not submit any elements have failed and do not need to be considered here. A: Grading elements We don't know how many student have submitted work For each student who has submitted, we need to input one or two or three grades (one for each element submitted) i) Element1 grade in range 50 to 100 maximum ii) Element2 grade in range 50 to 100 maximum iii) Element3 grade in range 50 to 100 maximumGeneral Operation: No menu is expected - the program can start with a prompt to the user about entering grades Validate all input (except student_id, can be auto-generated if you can do it) loop while there are submissions to grade: input student id (start at 1 - no names etc needed) input how many elements the student has submitted (1, 2 or 3) (they must have submitted at least one element for them to be here in the first place as a submission of zero elements means they have failed the assignment and hence failed the module) loop for each element: input grade for element (validated integer 50 to 100 inclusive) input days late (validated integer 0 to 5 inclusive) calc = final grade loop for any more submissionsThere is no more processing required. Only when all submissions have been graded can you stop the program. You can assume the results of your program are basically pre- processing requirements: They will be uploaded to file, .xIsx etc for further processing - BUT NOT HERE PLEASE e.g. overall grade-to-award = average of the three element grades; late statistics to show never-late, sometimes-late, always-late, degree-of-lateness (> 2 days) etc actual elements submitted ( 1 and/or 2 and/or 3) etc

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Cohomological Aspects In Complex Non-Kähler Geometry

Authors: Daniele Angella

1st Edition

3319024418, 9783319024417

More Books

Students also viewed these Mathematics questions

Question

How does a feedforward multilayer perceptrontype deep network work?

Answered: 1 week ago

Question

hoW Can you Create a (sImple) formula? Appendix

Answered: 1 week ago

Question

What iS the uSerS role? Appendix

Answered: 1 week ago