1 / 57

SPSS ýõëýí ñóðàõ

SPSS ýõëýí ñóðàõ. Object of the Course. About the four-windows in SPSS The basics of managing data files The basic analysis in SPSS. Introduction: What is SPSS?. Statistical Package for the Social Science áóþó SPSS íü IBM êîìïàíèéí ïðîãðàìì.

ilar
Download Presentation

SPSS ýõëýí ñóðàõ

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SPSS ýõëýí ñóðàõ

  2. Object of the Course • About the four-windows in SPSS • The basics of managing data files • The basic analysis in SPSS

  3. Introduction: What is SPSS? • Statistical Package for the Social Science áóþó SPSSíü IBM êîìïàíèéí ïðîãðàìì. • Ìýäýýëëèéí ñàíä êëàññèê áîëîí îð÷èí ¿åèéí ñòàòèñòèê àðãóóäààð øèíæèëãýý õèéäýã ïðîãðàìì. • Áóñàä ñóäàëãàà øèíæèëãýýíèé ïðîãðàììóóäòàé çîõèöîí àæèëëàõ ÷àäâàðòàé

  4. The Four Windows:Data editor Output viewer Syntax editor Script window

  5. The Four Windows: Data Editor • Data Editor Ýíý öîíõîíä ºãºãä뺺 òîäîðõîéëîõ, îðóóëàõ þì. SPSS ïðîãðàììûí ºãºãäºë “sav” ºðãºòãºëòýé õàäãàëàãäàíà.

  6. The Four Windows: Output Viewer • Output Viewer ¯ð ä¿í áîëîí àëäààã õàðóóëíà. ¯ð ä¿íãèéí ôàéë íü “spv” ºðãºòãºëòýé õàäãàëàãäàíà.

  7. The Four Windows: Syntax editor • Syntax Editor ªãºãäë¿¿ä äýýð õèéãäýæ áàéãàà ñòàòèñòèêèéí øèíæèëãýýíèé àðãûí êîìàíäóóä íü ïðîãðàìì õýëáýðýýð áè÷èãäýíý.Ýíý ôàéë íü “sps.” ºðãºòãºëòýé.

  8. The Four Windows: Script Window • Script Window Ýíý öîíõîíä ïðîãðàììûí øèíæèëãýýã BASIC õýë äýýð äàðààëëààð íü æàãñààí áè÷äýã.

  9. The basics of managing data files

  10. Opening SPSS • Start → All Programs → SPSS Inc→ SPSS 17.0 → SPSS 17.0

  11. Opening SPSS • The default window will have the data editor • There are two sheets in the window: 1. Data view 2. Variable view

  12. Click Data View õàðèëöàõ öîíõ • The Data View window This sheet is visible when you first open the Data Editor and this sheet contains the data • Click on the tab labeled Variable View

  13. Variable View õàðèëöàõ öîíõ • This sheet contains information about the data set that is stored with the dataset • Name • The first character of the variable name must be alphabetic • Variable names must be unique, and have to be less than 64 characters. • Spaces are NOT allowed.

  14. Variable View window: Type • Type / Õóâüñàã÷äûí òºðºë • ‘type’ öîíõûã äàðâàë çóðàãò ¿ç¿¿ëñýí õàðèëöàõ öîíõ ãàð÷ èðýõ áºãººä òóõàéí õýìæèãäýõ¿¿íèé òºðëèéã òîäîðõîéëîæ ºãíº.

  15. Variable View window: Width • Width/ ºðãºí • Õýìæèãäýõ¿¿íèé òîîí áîëîí òîîí áóñ óòãûí óðòûã ººðººð õýëáýë 1 ºãºãäëèéí ºðãºíèéã òîäîðõîéëîíî.

  16. Variable View window: Decimals • Decimals/òàñëàëààñ õîéøèõ îðîí • Number of decimals • Òàñëàëààñ õîéøèõ îðîíãèéí õýìæýý <16

  17. Variable View window: Label • Label/ õýìæèãäýõ¿¿íü õóâüñàã÷ • Õóâüñàã÷äûí òàéëáàðûã õàðóóëàõ • 256 òýìäýãò õ¿ðòýë òàéëáàðëàí áè÷èõ áîëîìæòîé.

  18. Variable View window: Values • Values • This is used and to suggest which numbers represent which categories when the variable represents a category

  19. Click Defining the value labels • Click the cell in the values column as shown below • For the value, and the label, you can put up to 60 characters. • After defining the values click add and then click OK.

  20. Æèøýý 1: • Äàðààõ ìýäýýëëèéã õýðõýí SPSS ïðîãðàìì äýýð ºãºãäºë õýëáýðýýð îðóóëàõ âý? Value = 1 represents Male and Value = 2 represents Female

  21. Click Æèøýý 1: (Ò¿¿âðèéí øèéäýë)

  22. Äàðàõ

  23. Äàðàõ Saving the data • To save the data file you created simply click ‘file’ and click ‘save as.’ You can save the file in different forms by clicking “Save as type.”

  24. Sorting the data/ªãºãäëèéã ýðýìáýëýõ • Click ‘Data’ and then click Sort Cases

  25. Äàðàõ Äàðàõ Sorting the data (cont’d) • Double Click ‘Name of the students.’ Then click ok./ Îþóòíû íýðñýýð ýðýìáýëýõ

  26. Æèøýý 2: • Äýýðõ æèøýýí äýýð ‘Height’ of students ¿ç¿¿ëýëòýýð áóóðàõ ýðýìáýýð ýðýìáýëýõ? • Õàðèóëò • Click data, sort cases, double click ‘height of students,’ click ‘descending,’ and finally click ok.

  27. Transforming data/ ªãºãäëèéã ººð÷ëºõ • Click ‘Transform’ and then click ‘Compute Variable…’

  28. Äàðàõ Transforming data (cont’d) • Æèøýý: Íýìæ øèíý ‘lnheight’ ãýñýí õóâüñàã÷èéã ºìíºõ ºãºãäë¿¿äèéã àøèãëàí ¿¿ñãýõ. Height ãýñýí õóâüñàã÷ààñ íàòóðàë ëîãàðèôì àâàõ • Type in lnheight in the ‘Target Variable’ box. Then type in ‘ln(height)’ in the ‘Numeric Expression’ box. Click OK

  29. Transforming data (cont’d) • Øèíý õýìæèãäýõ¿¿í ‘lnheight’ íýìýãäëýý.

  30. Æèøýý 3: • Øèíýýð “sqrtheight” õýìæèãäýõ¿¿íèéã îðóóëàõ. which is the square root of height. • Answer

  31. Øèíæèëãýýíèé àñóóäàë

  32. The basic analysis of SPSS that will be introduced in this class • Frequencies • This analysis produces frequency tables showing frequency counts and percentages of the values of individual variables. • Descriptives • This analysis shows the maximum, minimum, mean, and standard deviation of the variables • Linear regression analysis • Linear Regression estimates the coefficients of the linear equation

  33. Opening the sample data • Open ‘Employee data.sav’ from the SPSS • Go to “File,” “Open,” and Click Data

  34. Opening the sample data • Go to Program Files,” “SPSSInc,” “SPSS17,” and “Samples” folder. • Open “Employee Data.sav” file

  35. Frequencies • Click ‘Analyze,’ ‘Descriptive statistics,’ then click ‘Frequencies’

  36. Äàðàõ Äàðàõ Frequencies/ Äàâòàìæ • Click gender and put it into the variable box. • Variable öîíõ äýýõ gender-èéã ñîíãî. • Click ‘Charts.’/ ‘Charts’ –èéã ñîíãî. • Then click ‘Bar charts’ and click ‘Continue.’

  37. Äàðàõ Frequencies/ Äàâòàìæ • Finally Click OK in the Frequencies box.

  38. Click Syntax editor-èéã àøèãëàâàë: • Click ‘Analyze,’ ‘Descriptive statistics,’ then click ‘Frequencies.’ • Put ‘Gender’ in the Variable(s) box. • Then click ‘Charts,’ ‘Bar charts,’ and click ‘Continue.’ • Click ‘Paste.’

  39. Right Click! Click Using the Syntax editor • Highlight the commands in the Syntax editor and then click the run icon. • You can do the same thing by right clicking the highlighted area and then by clicking ‘Run Current’

  40. Æèøýý 4: • Do a frequency analysis on the variable “minority” • Create pie charts for it • Do the same analysis using the syntax editor

  41. Click Answer

  42. Click Descriptives • Click ‘Analyze,’ ‘Descriptive statistics,’ then click ‘Descriptives…’ • Click ‘Educational level’ and ‘Beginning Salary,’ and put it into the variable box. • Click Options

  43. Click Click Descriptives/ Òîîí ¿ç¿¿ëýëò¿¿ä • The options allows you to analyze other descriptive statistics besides the mean and Std. • Click ‘variance’ and ‘kurtosis’ • Finally click ‘Continue’

  44. Descriptives/ Òîîí ¿ç¿¿ëýëò¿¿ä • Finally Click OK in the Descriptives box. You will be able to see the result of the analysis.

  45. Regression Analysis • Click ‘Analyze,’ ‘Regression,’ then click ‘Linear’ from the main menu.

  46. Click Click Regression Analysis • For example let’s analyze the model • Put ‘Beginning Salary’ as Dependent and ‘Educational Level’ as Independent.

  47. Regression Analysis • Clicking OK gives the result

  48. Plotting the regression line • Click ‘Graphs,’ ‘Legacy Dialogs,’ ‘Interactive,’ and ‘Scatterplot’ from the main menu.

More Related