Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am trying to estimate total enrollment using the survey package in Rstudio, and I don't know the codes to use to get it. Please

I am trying to estimate total enrollment using the survey package in Rstudio, and I don't know the codes to use to get it. Please help; I have attached the website where you will get the data set and a screenshot of which dataset to download.

check the data set on this website https://www.cde.ca.gov/ds/si/ps/

Here is the name of the dataset on the website, 2021-2022 revised 01-07-2022

When you download it make sure the downloaded excel file its called privateschools2122.

image text in transcribedimage text in transcribed
This Weeks Lab Today your team will work on the first two methods of sampling for comparison. You need to: O Determine your sample size(s): N o Yamane's provides a simple path forward n = 1+N(e)2 e is the margin of error. o Cochran's no = ="where z is the critical z p the proportion of a variable in population (.5 is a good starting point), and q is 1-p; if the population is restricted in size correct with n = = 1+ 710-1- N U Draw a simple random sample of size n from the data and estimate your variable(s) of interest - n is the sample size you use in all instances of your comparison project. 0 Determine your strata and the sizes of each strata - have solid reasoning. O Draw a stratified sample. O Estimate your variable of interest using that stratified sample. O Turn in your "nice" code and output for each as well as which team members contributed.Private School Detailed Affidavit Information Information on PSAs for the most recent five years are available below. Files for previous years, dating back to 1999-2000, are available upon request. . 2021-2022 (XLSX; 1MB; Revised 01-Jul-2022)

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

Step: 3

blur-text-image

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

Elementary Differential Equations And Boundary Value Problems

Authors: William E Boyce, Richard C DiPrima

8th Edition

0470476389, 9780470476383

More Books

Students also viewed these Mathematics questions

Question

Define capital.

Answered: 1 week ago

Question

4. What means will you use to achieve these values?

Answered: 1 week ago