Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is a R studio question What is the difference between the s-squared of education for men in your sample and the s-squared for education

This is a R studio question

  1. What is the difference between the s-squared of education for men in your sample and the s-squared for education for women in your sample?
  2. Test the null hypothesis that men and women have the same average education. Perform a two-sided test, without assuming equal variances. Report the resulting p-value.
  3. Set a seed equal to the number 2108. Create one new variable in your data set called "Sex_Randomized" and randomly assign each observation to be male or female. You can use the following way:

"set.seed(310)

My_data$Sex_Randomized = sample(My_Data$Sex, size = length(My_Data$Sex))"

a. Find the difference between the mean of education for those randomly assigned "male" and those randomly assigned "female"

b. Find the difference between the s-squared for the sample of observations randomly assigned male and the sample randomly assigned female.

The link to the data:

https://docs.google.com/spreadsheets/d/1XsXxJWg3JlDafIG2ZCc56vBIffb-e0qUnPJpsut9QjU/edit#gid=0

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

Calculus For Scientists And Engineers Early Transcendentals

Authors: William L Briggs, Bernard Gillett, Bill L Briggs, Lyle Cochran

1st Edition

0321849213, 9780321849212

More Books

Students also viewed these Mathematics questions

Question

undertake a thematic analysis of your data;

Answered: 1 week ago