Question

Workbook 2.9. Use SPSS or your choice to create a data file with two variables based on a data set with 40 participants. Your

for this workbook u can make up your own data. it doesnt matter
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Both the parts are done in R

Code along with output is attached herewith.

######PART 1##*********** # Data Generation dfl <- data.frame (Group = rbinom (45, 2, 0.5), MRT = rpois ( 45, 45)) df1$Group[df2 <- data.frame (Temp = round (rnorm (40, 10, 41,0), Sales = round(rnorm ( 40, 9.8, 4), 0)) head (df2) ## ## 1 ## 2 ## 3 ##summary (m2) ## Call: ## lm (formula = Sales - Temp, data = df2) ## ## Residuals: ## Min 19 Median 39 Max ## -6.6813 -2.9881

DO hit the like button if you like the solution.

Add a comment
Know the answer?
Add Answer to:
for this workbook u can make up your own data. it doesnt matter Workbook 2.9. Use...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Part II: SPSS Application These questions require the use of SPSS. Remember you must submit all of your work within this word document. You will need to take a screen shot of your data view if ne...

    Part II: SPSS Application These questions require the use of SPSS. Remember you must submit all of your work within this word document. You will need to take a screen shot of your data view if necessary, or copy and paste your output into the spaces below. Remember to report the exact p value provided by SPSS output – simply reporting p<.05 or p>.05 is not acceptable (unless SPSS output states p=.000 – in that case you can report p<.001)....

  • Erika Diaz Your name Assignment 10 Correlation, Scatterplot, and Prediction (due 7/30/20 - 1/4/20)(28 pts) 1....

    Erika Diaz Your name Assignment 10 Correlation, Scatterplot, and Prediction (due 7/30/20 - 1/4/20)(28 pts) 1. A teacher hypothesizes that the more days of school student misses, the worse the student will do on a final exam (possible scores on the exam range from 0 to 20). She obtained a random sample of 12 students. The data are shown below. Student days missed Final exam score 1 3 16 2 2 17 3 5 13 4 8 7 5 4...

  • Oliò Description and Requirements Computer Lab Assignment #9 1. Use Excel and the "Restaurant" da...

    oliò Description and Requirements Computer Lab Assignment #9 1. Use Excel and the "Restaurant" data set file located in D2L for this assignment 2. For each class (Class 1 to 14), consider the number of customers for day 7. Call this new variable, day data, as X1. Consider the number of waiters/waitresses as variable X2.Consider the customer satisfaction as vanable Y In another word, create a table for variables Y, X.X2 Dependent Variable: Y Independent Variables: X,X2 3. Find a...

  • Part II: SPSS Application These questions require the use of SPSS. Remember you must submit all...

    Part II: SPSS Application These questions require the use of SPSS. Remember you must submit all of your work within this word document. You will need to take a screen shot of your data view if necessary, or copy and paste your output into the spaces below. Remember to report the exact p value provided by SPSS output – simply reporting p<.05 or p>.05 is not acceptable (unless SPSS output states p=.000 – in that case you can report p<.001)....

  • SPSS: Correlation Use SPSS or Excel to calculate the appropriate correlation coefficient for the following data...

    SPSS: Correlation Use SPSS or Excel to calculate the appropriate correlation coefficient for the following data for “Hours of Exercise” and “Life Satisfaction.” (0 = Not at all satisfied). Provide an APA-style results section write – up. (b) Graph the relationship. HINT: Below you will find instructions for the APA-style write-up. Complete the write-up on a word document and upload the file for submission. Hours of Exercise Life Satisfaction 2 6 0 2 5 13 6 15 1 3 2...

  • Problem: You are interested in factors that predict the salaries of catwalk models. You collected...

    Problem: You are interested in factors that predict the salaries of catwalk models. You collected data from 231 models (attached SPSS data file: supermodel_1.sav). For each model, you asked: salary per day in dollars (on days when working (variable: salary_2), age (variable: age), and how many years they have worked as a model (variable: years). You also got a panel of experts from various modeling agencies to rate the attractiveness of each model as a percentage, with 100% being perfectly...

  • Assume for a moment that these 20 houses made up the entire population of houses in San Antonio. Use the Data Analysis...

    Assume for a moment that these 20 houses made up the entire population of houses in San Antonio. Use the Data Analysis Sampling function to choose a random sample of 7 house prices from the population. Put a label called "Sample of 7" over the list you create. 4. 3. Highlight all the data, including both Square Footage and Price, and use the Insert Scatter function to create a Scatter Diagram. Change the title and add a linear trend line...

  • Comparing two means: When drink drove a student to statistics (Rubric included) Instructions For this assignment,...

    Comparing two means: When drink drove a student to statistics (Rubric included) Instructions For this assignment, you review this week’s Learning Resources and then perform a two-sample independent t test and an ANOVA related to the dataset that was utilized in the week 2 SPSS application assignment. Import the data into SPSS; or, if you correctly saved the data file in Week 2, you may open and use that saved file to complete this assignment. Type your answers to all...

  • *JUST NEED 3 and 4 ANSWERED THANKS* 1. Explore the data: create a scatterplot . 1a....

    *JUST NEED 3 and 4 ANSWERED THANKS* 1. Explore the data: create a scatterplot . 1a. Type the data into a blank SPSS spreadsheet. Name variables as Distance and Snowfall respectively. Go to Graphs-Legacy Dialogs-Scatter/Dot-Simple Scatter-Define. In the window that follows, select Distance into X axis and Snowfall into Y axis. Click on OK. 1b.Double click on the scatter plot to activate it. Double click on the horizontal axis and select the Scale tab. At Auto, uncheck all boxes. At...

  • Melanoma treatment. An experiment evaluated the use of genetically engineered white blood cells in the treatment...

    Melanoma treatment. An experiment evaluated the use of genetically engineered white blood cells in the treatment of patients with melanoma.y Patients were divided into three cohorts. Patient cohort 1 received genetically engineered lymphocytes that were cultured ex vivo for 19 days. Cohort 2 received cells that were cultured for between 6 and 9 days. Cohort 3 received cells that were generated by a second rapid expansion performing after 8 to 9 days. Cell doubling times were as follows. Cohort 1...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT