100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Examenopdracht $7.01
Add to cart

Exam (elaborations)

Examenopdracht

 61 views  0 purchase
  • Course
  • Institution

Volledige examenopdracht die als leidraad kan worden gebruikt bij het maken van de oefening.

Preview 2 out of 6  pages

  • November 26, 2019
  • 6
  • 2018/2019
  • Exam (elaborations)
  • Answers
avatar-seller
********DATABEHEER*********
***************************/



*Nodige variabelen nakijken en wegschrijven naar nieuw databestand.
*******************************************************************;


data ess.ESS4;
set "/folders/myfolders/ess4e04_2.sas7bdat" (keep = CNTRY JBSPV WKDCORGA IORGACT SCLMEET
SCLACT HAPPY DSCRGRP MARITALA);
if CNTRY = "DE";
run;



proc freq data = ess.ESS4;
tables CNTRY JBSPV WKDCORGA IORGACT SCLMEET SCLACT HAPPY DSCRGRP MARITALA;
run;

proc freq data = ess.ESS4;
tables CNTRY JBSPV WKDCORGA IORGACT SCLMEET SCLACT HAPPY DSCRGRP MARITALA;
format CNTRY JBSPV WKDCORGA IORGACT SCLMEET SCLACT HAPPY DSCRGRP MARITALA;
run;



data work.ess4;
set ess.ess4;
run;



*Nieuwe variabelen aanmaken.
****************************;


data ess4;
set ess4;

DSCRGRPRevDum = (DSCRGRP = 2);
if DSCRGRP < 0 then DSCRGRPRevDum = .;
label DSCRGRPRevDum = "Not member of a group discriminated against in this country - dummy";

run;



data ess4;
set ess4;

JBSPVDum = (JBSPV = 1);
if JBSPV < 0 then JBSPVDum = .;
label JBSPVDum = "Responsible for supervising other employees - dummy";

run;



data ess4;
set ess4;

RLTDum = (MARITALA = 1 OR MARITALA = 2);
if MARITALA < 0 then RLTDum = .;

label RLTDum = "In a relationship - dummy";

run;



proc freq data = ess4;
tables DSCRGRPRevDum JBSPVDum RLTDum;
run;

, ********** DEEL 1: MEETMODEL **********
***************************************



*Eerste schatting met ML.
*************************;


proc calis data = ESS4 kurtosis covariance modification;

lineqs
JBSPVDum = LX1F1 F1 + E1,
WKDCORGA = LX2F1 F1 + E2,
IORGACT = LX3F1 F1 + E3,
SCLMEET = LX4F2 F2 + E4,
SCLACT = LX5F2 F2 + E5,
HAPPY = LX6F3 F3 + E6,
DSCRGRPRevDum = LX7F3 F3 + E7;

std
F1 = 1,
F2 = 1,
F3 = 1,
RLTDum = VARY,
E1-E7 = VARE1-VARE7;

cov
F1 F2 = CF1F2,
F1 F3 = CF1F3,
F1 RLTDum = CF1Y,
F2 F3 = CF2F3,
F2 RLTDum = CF2Y,
F3 RLTDum = CF3Y;

var
JBSPVDum WKDCORGA IORGACT SCLMEET SCLACT HAPPY DSCRGRPRevDum RLTDum;

run;



*Tweede schatting met WLS.
**************************;


proc calis data = ESS4 method=wls kurtosis covariance modification;

lineqs
JBSPVDum = LX1F1 F1 + E1,
WKDCORGA = LX2F1 F1 + E2,
IORGACT = LX3F1 F1 + E3,
SCLMEET = LX4F2 F2 + E4,
SCLACT = LX5F2 F2 + E5,
HAPPY = LX6F3 F3 + E6,
DSCRGRPRevDum = LX7F3 F3 + E7;

std
F1 = 1,
F2 = 1,
F3 = 1,
RLTDum = VARY,
E1-E7 = VARE1-VARE7;

cov
F1 F2 = CF1F2,
F1 F3 = CF1F3,
F1 RLTDum = CF1Y,
F2 F3 = CF2F3,
F2 RLTDum = CF2Y,
F3 RLTDum = CF3Y;

var
JBSPVDum WKDCORGA IORGACT SCLMEET SCLACT HAPPY DSCRGRPRevDum RLTDum;

run;

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller clairevanroey. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.01. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

56326 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.01
  • (0)
Add to cart
Added