Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Got 87/100 - Project 1 assignment

Beoordeling
-
Verkocht
-
Pagina's
17
Cijfer
A
Geüpload op
12-01-2024
Geschreven in
2022/2023

I've gotten 87/100 for this project assignment. all answers are clear and also included pictures and code as well.

Instelling
Vak

Voorbeeld van de inhoud

PROJECT 1 - PHAM BAO NGUYEN - 45545061



1

a) How to load cps4_small.dta

install.packages("haven")

library(haven)

CPS4 = read_dta("cps4_small.dta" )

, b) Obtain summary statistics and histograms for the variables wage and educ.


Wage
R-command:




histogram(wage,
main = "Earnings per hour",
xlab = "wage per hour",
ylab = "Percentage")




Describe(wage)

Summary(wage)




The sample mean of wage is $20.62. The data is significant positive skewed (1.58), indicating
that the tail is on the right side of the distribution, which extends towards more positive
values.

The standard deviation is 12.83 while kurtosis is 2.91. This means that although the standard
deviation is significantly high, there is fewer extreme outliers than the normal distribution
and other variables. In particular, the value of kurtosis less than 3 could be considered as
playkurtic, indicating the wage’s data has less exceptions which can deflect the assumption
for year of education.

, Education


histogram(educ,
main = "Year of Education",
xlab = "year",
ylab = "Number of observations")




describe(educ)
summary(educ)




The sample mean of education is 13.8 years. The data is significantly negative skewed (-
0.07), indicating that the tail is on the left side of the distribution, which extends towards
more negative values.


The standard deviation is 2.71 while kurtosis is 2.06. This means that the standard deviation
is not very high, there is fewer extreme outliers than the normal distribution and other
variables. In particular, the value of kurtosis less than 3 could be considered as playkurtic.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
12 januari 2024
Aantal pagina's
17
Geschreven in
2022/2023
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$14.69
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
baonguyenpham

Maak kennis met de verkoper

Seller avatar
baonguyenpham The University of Queensland
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1
Lid sinds
4 jaar
Aantal volgers
1
Documenten
2
Laatst verkocht
2 jaar geleden

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen