Publications by Ching-Fang Wu

dataM L5 exercise

05.11.2021

Q1 Select at random one school per county in the data set Caschool{Ecdat} and draw a scatter diagram of average math score mathscr against average reading score readscr for the sampled data set. Make sure your results are reproducible (e.g., the same random sample will be drawn each time). #install package and download data pacman::p_load(Ecdat...

2851 sym R (22100 sym/114 pcs) 3 img 3 tbl

DataM L5 inclass exercises

02.11.2021

Q1 Comment on what each code chunk in the following classroom markdown fileis trying to achive and on its output. Data pacman::p_load(WWGbook) data(classroom, package="WWGbook") #用?查詢classroom資料集 ?classroom R右下角視窗會跳出這個data set的內容說明。 The Study of Instructional Improvement (SII; Hill, Rowan, and Ball,...

2989 sym R (22652 sym/128 pcs) 3 img 12 tbl

dataM L4 exercise

26.10.2021

Q1 Chatterjee and Hadi (Regression by Examples, 2006) provided a link to the right to workdata set on their web page. Display the relationship between Income and Taxes. #Import tab-delimited files q1fL <- "http://www1.aucegypt.edu/faculty/hadi/RABE5/Data5/P005.txt" q1dta <- read.csv(q1fL, sep='\t') dplyr::glimpse(q1dta) ## Rows: 38 ## Columns:...

2106 sym R (4415 sym/21 pcs) 1 img 1 tbl

dataM L3 exercise 1-5

21.10.2021

Q1 Concerning the anorexia{MASS}, explain the difference between > anorexia[,2] > anorexia[“Prewt”] and > lm(Postwt ~ Treat, data=anorexia) > lm(Postwt ~ as.numeric(Treat), data=anorexia) Does the second output make sense in the context of the ‘anorexia’ data analysis? #load data from package #install.packages("MASS") data(anorexia,pack...

2844 sym R (10685 sym/88 pcs) 11 img

dataM L3 in-class exercise

20.10.2021

Q1 The math attainment page has a dataset and a script of R code chunks. Generate a markdown file from the script to push the output in HTML for posting to course Moodle site. input data #first R session using math attainment data set # read in a plain text file with variable names and assign a name to it dta <- read.table("C:/Users/Ching-Fan...

2214 sym R (28597 sym/79 pcs) 4 img

dataM L3 in-class exercise

20.10.2021

Q1 The math attainment page has a dataset and a script of R code chunks. Generate a markdown file from the script to push the output in HTML for posting to course Moodle site. input data #first R session using math attainment data set # read in a plain text file with variable names and assign a name to it dta <- read.table("C:/Users/Ching-Fan...

2301 sym R (22252 sym/70 pcs) 4 img

dataM L2 Homework 2

12.10.2021

DataM L2 HW2 Ching-Fang Wu 2021/10/12 GPA and GRE Doughnut Dump 02 三月, 2018 An education researcher is interested in how variables, such as GRE (Graduate Record Exam scores), GPA (grade point average) and prestige of the undergraduate institution (Rank), influence admission into graduate school (Admit). Read data dta <- read.csv("https://s...

465 sym R (367 sym/2 pcs) 1 img

dataM L2 Homework 5

12.10.2021

dataM L2 Homework5 吳靜芳 2021 十月 12 Q5 The dataset, BAC{HoRM}, is from a study to compare the blood alcohol concentration (BAC) of subjects using two different methods (Breathalyzer Model 5000 or labtest BAC in a laboratory) on 15 subjects. Replicate the analysis by following the sleep example of the class note. ## id test bac ##...

688 sym R (2695 sym/7 pcs) 7 img 5 tbl

dataM L2 Homework

11.10.2021

dataM L2 Homework1 吳靜芳 2021 十月 12 Q1 Download the weather data for a week in Tainan and data from taipei to a data sub-folder in a folder where you have also downloaded and stored this markdown template . Render the rmarkdown file to examine its output. 氣象資訊 天氣預報 【陰天有短暫雨,氣溫偏低,沿海空曠地�...

532 sym 1 img 1 tbl

L1 in-class exercise

28.09.2021

3 In RStudio, enter the following line (after the prompt ‘>’) in the Console panel: hist(rnorm(1000)) 4 Continue with the current session, run the commands below to install the following packages for later use: # install.packages("pacman") pacman::p_load(rmarkdown, knitr, here, kableExtra, rmdformats, readxl, tidyverse, xaringan, ERP) 5 Dow...

593 sym R (998 sym/8 pcs) 3 img