Norinah Mohd Ali Q1: Clean the Data i. Tentukan sama ada, data mempunyai missing value dan error seperti outlier. (i.e 99 - no yang tidak mewakili value lael variale! - "lik analy#e$des%riptive statisti%$&re'uen%ies - (ihat output, %ari ahagian variales yang mempunyai error (ie, missing value dan outliers! - oleh dilihat disini ahagian se%tion 1 dalam soalan, setiap variale sepatutnya mempunyai ) value. *alue seleihnya adalah outlier dan perlu diersihkan. (%ontoh, &re'uen%ies menun+ukkan 1,,,-,.,/,), dan 9. 9 ini adalah outlier yang perlu diersihkan. - (istkan variales yang perlu diersihkan (i.e yg mengandungi 0* dan 1(!. ii. Cara ersihkan: - "lik trans&orm$2e%ode into same variales - 3 4ilih variales yang perlu diersihkan - "lik old and 5ew *alues - 0asukkan old value6 9 dan new value 6 system missing$ok - 7lang langkah 3 sehingga semua variales hais diersihkan. - 2e%he%k (klik analy#e$des%riptive statisti%$&re'uen%ies! dan lihat outliers sudah men+adi system missing. Q,: Dis%uss the pro8le o& the respondents with respe%t to the &ollowing items: a. Demographi% pro8le . 9%tivity pro8le %. 2eadership o& 5ewspaper 9kan diuat selepas semua 'uestion dianalisa. 1 Q-: :or the &ollowing variales, run mean, standard deviation, varian%e, skewness, kurtosis, and histogram: a;., a-1, sat;., sat1;, age and Totsat. - Totsat 6 <ummation o& <at;1 to <at1; (%reate new variale 6totsat! - Trans&orm$%ompute variale - - "lik ok - Che%k ada variale aru (totsat! dalam <4<< - =ika tiada numer dalam %olumn totsat, maksudnya ada missing value dan tidak oleh %ompute. >iarkan. - "emudian, %ari mean, standard deviation, varian%e, skewness, kurtosis dan histogram agi variale: a;., a-1, sat;., sat1;, age dan totsat. - "lik 9naly#e$des%riptive statisti%$&re'uen%ies$ - 0asukkan variales yang perlu di analisa - - statisti%$ti%k mean, <D, *, <kewness, kurtosis$ok , - klik %harts$ histogram$ti%k show normal %urve on histogram$ok Q.: Divide the respondents into three groups depending on their level o& satis&a%tion in li&e: ?igh, 0edium and (ow. Take only the high and low groups &or &urther analysis in Q/. - Che%k totsat &or min and ma@ - "lik 9naly#e$des%riptive$&re'uen%ies$pilih totsat$statisti%$ti%k min dan ma@ - "enalpasti min dan ma@ untuk kiraan per%entiles (&rom my data set, my min is ,- and my ma@ is );! - "lik analy#e$des%riptive$&re'uen%ies$pilih totsat$statisti%$ti%k per%entiles$input --.- add and )).A$%ontinue$ok - - <o daripada output <4<< determine range (in my %ase, lowB-9, medium 6 .;-./, high C.)!. - Then group into three groups: - 33Trans&orm$re%ode into diDerent variale$klik %hange name to totsat1$ - - - input old and new value (lihat gamar di awah!$%ontinue$ok - - 333Tukar kepada variale view dalam <4<< dan lael value totsat1 seperti di awah dan klik ok - - "emudian soalan meminta Etake only the high and low groups &or Q/F - =adi value , dalam totsat1 kena delete. Caranya: - Trans&orm$2e%ode into diDerent variale (totsat,!. (angkah sama seperti di 33. - Gnput old and new variales: (1ld 16 new 1, 1ld ,65ew 0issing system, 1ld -65ew -! - (ael dalam variale view seperti dilangkah 333 (1.;; 6 (ow satis&a%tion, dan -.;;6?igh <atis&a%tion! . Q/: Crosstaulate ethni% groups (%omine the EindianF and EothersF into one group! with: - Comine iindianF and EothersF (variale6ra%e! - Trans&orm$2e%ode into diDerent variale (2a%e1! -seperti di 33 - 1ld and new value 6 1-1, ,-,, ---, .-- - Then lael in variale view: 16 0alay, ,6 Chinese, -6 1thers a. <atis&a%tion in li&e groups (totsat,! - 7se %rossta - 9naly#e$des%riptive$%rosstas - 2ow 6 totsat,, %olumn6ra%e1 - $statisti%$ti%k %his'uare$%ontinue$%ell$ti%k row, %olumn,total$ok . 2eadership o& newspaper Does the three ethni% groups diDer in their involvement in a and H Q): 4er&orm some statisti%al tests to see se@ group diDeren%es with respe%t to all the items in the satis&a%tion in li&e s%ale. QA: 4er&orm some statisti%al tests to see marital status group diDeren%es (divide the marital status group into three groups: single, married without %hildren and married with %hildren! with respe%t to all the items in the religious in%lination and moral standards s%ales. /