楼主: dwl001
2885 6

[分享]Introduce to R step by step [推广有奖]

  • 0关注
  • 1粉丝

本科生

10%

还不是VIP/贵宾

-

威望
0
论坛币
944 个
通用积分
41.9285
学术水平
15 点
热心指数
37 点
信用等级
13 点
经验
1286 点
帖子
71
精华
0
在线时间
17 小时
注册时间
2009-2-23
最后登录
2016-12-23

楼主
dwl001 发表于 2009-4-26 18:05:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

319182.pdf (5.38 MB)



R
Course Contents
page
Session 1: R
Introduction and References
Notation Conventions used throughout the course Starting R for Windows
Getting Help
The R Console
The Menu bar
The Toolbar
Practical Session 1
1. Objective of this exercise Starting R
Accessing built-in datasets A simple analysis
Viewing output
Printing and saving output Leaving R
2. Creating your own R Data File Using the Data Editor
The Data
Defining the Variables Entering the Data Saving the Data
Some Descriptive Statistics Exiting R

Session 2: Importing Data Files from Text Formats Reading a raw data file
Importing Text Files
A note about variable names in R
Notes on the Data Editor: Adjusting Column widths Missing Values
Importing an Excel file to R Practical Session 2
1. Reviewing the demonstration
2. Importing an ASCII file, defining labels & missing values
British Social Attitudes Survey, 1987:Coding Sheet

Session 3: Data and Language Structures R as a calculator
Vectors and assignment
Generating Sequences
Character Vectors
Arithmetic Operators
Comparison Operators
Extracting Data by using an index  3-7
Simple and Complex Objects  3-9
Loops and Conditional Execution  3-10
1. Conditional Statement: If Statement  3-10
2. Iteration: for, while  3-12
Practical Session 3  3-13
 1 . Reviewing the demonstration  3-13
2. Operators and Subscripts  3-13
3. Loops and Conditional Execution  3-14

Session 4: Crosstabulation and Recode
Crosstabulation in R  4-2
Recoding  4-4
How to recode  4-5
Recoding into a different variable  4-5
Recoding AGE into age groups (Recode Ranges)  4-6
Missing values and recoding  4-7
Variable labels  4-8
Practical Session 4  4-9
1. Reviewing the demonstration  4-10
2. Age and gender and government spending  4-10
3. Political identification and age  4-11

Session 5: Computing New Variables
Numerical Expressions  5-2
Missing values and compute  5-5
Other types of variables  5-6
More on data frames  5-8
The function tapplyt)  5-9
Arrays and matrices  5-11
Index arrays  5-13
Manipulation of Arrays and Matrices  5-15
Practical Session 5  5-18
1. Reviewing the demonstration  5-18
2. Computing new variables/ producing bar charts  5-18
3. Computing new matrices  5-19

Session 6: Selecting, Sampling Cases and Functions
Selecting Cases  6-2
Selecting the whole set of cases again  6-4
Sampling Cases  6-4
Split Data Frame Command  6-5
Functions  6-7
Practical Session 6  6-9
1. Reviewing the demonstration  6-9
2. Mobility Tables  6-9
3. Subdividing by sex  6-10
4. Writing functions  6-10
Session 7: Numerical and Graphical Summaries of Data
Summary Statistics  7-2

Histograms Box-Plots
Bar Charts
Scatter Plots Practical Session 7
1. Reviewing the demonstration
2. Further Graphs
3. Exploring the age of the respondents
4. Investigating the education of respondent and family

Session 8: R-Commander, Two-Sample T-Tests and ANOVA

R Commander Example
Running R Commander automatically
Running Scripts in R
Two-Sample t-test- Comparing Two Independent Means Paired t-test for Means - Comparing Two Dependent Means One-Way ANOVA
Pairwise Comparisons

Very simple linear regression Practical Session 8
1. Reviewing the demonstration
2. Analysis of the STATLABA data
3. Consolidation

Session 9: The General linear model and graphics An example: block designs
Model simplification
More on linear regression More on graphics Practical Session 9

Session 10: Additional topics 1. The Chi-Squared (Z2) test Cross-tabulation
Observed and Expected Frequencies
Comparing Observed and Expected Frequencies the x2 Test
Degrees of Freedom
2. Logistic regression The glmO function Modelling proportions
Binary logistic regression - model selection
3. Survival Analysis
Functions used in Survival analysis
Kaplan Meier estimate of the Survival Function Cox Proportional hazards model
Parametric models


yahoocom  金币 +1  奖励 2009-4-26 21:54:58
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Introduce intro Step int Rod 分享 Step Introduce

已有 1 人评分论坛币 收起 理由
crystal8832 + 30 奖励积极上传好的资料

总评分: 论坛币 + 30   查看全部评分

本帖被以下文库推荐

沙发
dwl001 发表于 2009-4-26 18:17:00

Data set

319200.rar (406.45 KB)


Data set for the introduction

藤椅
cylo 发表于 2009-4-26 19:29:00
好书一本,对初学者是个不错的选择啊!

板凳
ccsxghcwb 发表于 2009-4-26 19:35:00
感谢分享!
自信人生二百年,会当水击三千里

报纸
平常 发表于 2009-4-27 14:35:00
看看怎么样

地板
skyman190 发表于 2009-4-27 22:56:00
干些这样无私奉献的人
用统计这一有利的武器去战胜一切未知的世界

7
wchampion 发表于 2010-1-25 23:28:09
谢谢,感谢好人啊

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-29 17:35