share idea?
Sta632 assignment confusion..

how we use r in sampling?

Assignment No.1 (Course STA 632)
Spring 2020(Total Marks 10)Deadline
Your Assignment must be uploaded/ submitted before or on16 June 2020,
Time 23:59
(STUDENTS ARE STRICTLY DIRECTED TO SUBMIT THEIR ASSIGNMENT BEFORE OR BY DUE DATE. NO ASSIGNMNENT AFTER DUE DATE WILL BE ACCEPTED VIA E.MAIL).
Rules for Marking
It should be clear that your Assignment will not get any credit IF:
The Assignment submitted, via email, after due date.
The submitted Assignment is not found as MS Word document file.
There will be unnecessary, extra or irrelevant material.
The Statistical notations/symbols are not wellwritten i.e., without using Math Type software.
The Assignment will be copied from handouts, internet or from any other student’s file. Copied material (from handouts, any book or by any website) will be awarded ZERO MARKS. It is PLAGIARISM and an Academic Crime.
The medium of the course is English. Assignment in Urdu or Roman languages will not be accepted.
Assignment means Comprehensive yet precise accurate details about the given topic quoting different sources (books/articles/websites etc.). Do not rely only on handouts. You can take data/information from different authentic sources (like books, magazines, website etc.) BUT express/organize all the collected material in YOUR OWN WORDS. Only then you will get good marks.Objective(s) of this Assignment:
The assignment is being uploaded to build up the concepts of modern tools of survey sampling and R codding.
Assignment No.1 (Lessons 1015)
Question Marks 3+4+3=10
a) How sampling is done by using R? Explain it with the help of an example.
b)Find , and by proportional allocation from the following information.
=1580, =1140, =125, =114 and =440.
c)A quality manager is interested to estimate the mean diameter of bolts produced in the last week. Determine the sample size to obtain 95% confidence level for population if the error in the estimate will not be more than 3cm. A pilot sample yields a standard deviation of 30 cm. 
@TriXie said in Sta632 assignment confusion..:
c)A quality manager is interested to estimate the mean diameter of bolts produced in the last week. Determine the sample size to obtain 95% confidence level for population if the error in the estimate will not be more than 3cm. A pilot sample yields a standard deviation of 30 cm.
iska solution?Please post all assignment question or upload a file.

c)A quality manager is interested to estimate the mean diameter of bolts produced in the last week. Determine the sample size to obtain 95% confidence level for population if the error in the estimate will not be more than 3cm. A pilot sample yields a standard deviation of 30 cm.
iska solution? 
@TriXie said in Sta632 assignment confusion..:
how can we give example for it? should it be solved in R SOftware?

@TriXie said in Sta632 assignment confusion..:
how can we give example for it? should it be solved in R SOftware?

how can we give example for it? should it be solved in R SOftware?

This post is deleted! 
@TriXie said in Sta632 assignment confusion..:
how we use r in sampling?
A simple random sample is generated by a design, which warrants that each subgroup of the population of size n has an equal probability of being picked as the sample. In R, we can draw a random sample of size 10 from the numbers 1 to 1000, using the sample function sample (1:1000, 10) .