最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

R語言代做編程輔導(dǎo)因子實驗設(shè)計STA305/1004 Assignment(附答案)

2022-12-14 22:28 作者:拓端tecdat  | 我要投稿

全文鏈接:http://tecdat.cn/?p=30896

(Adapted from Wu, Hamada, 2009) The following experiment was performed at a pulp mill. Plant performance is based on pulp brightness as measured by a reflective meter. Each of the shift operators (dentoted A, B, C, and D) made five pulp handsheets from unbleached pulp. Reflectance was read for each of the handsheets using a brightness tester as reported in the table below:

The goal of the experiment is to determine whether there are differences between the operators in making the handsheets and reading thier brightness. a. What is the null and alternative hypothesis corresponding to the experimental goal. Calculate the means and standard deviations for each operator. Based on these summary statistics is there evidence of difference between operators? b. Use R to fit the following model to the data using the default coding contr. treatment (4)

wherei= 1...,4,j= 1.....5 , where yij is the jfh observation with operator i. ●Interpret the model parameters η, Ti, Eij and their associated p-values. ●What do you assume about Eij? Check if these assumptions are fuflilled.

sapply(split(reflect,operator),mean)sapply(split(reflect,operator),sd)contrasts(pulpdat$operator) <- contr.treatment(4)contrasts(pulpdat$operator) <- contr.sum(4) pairwise.t.test(reflect,ope

Sample R Code for STA305/1004 Assignment 3

# Question 1# Read in data for question #1pulpdat <- read.csv("/Users/nathantaback/Dropbox/Docs/sta305/2015/assignments/Assignment3/pulpdat.csv") attach(pulpdat)#Calculate means and sd for each operatorsapply(split(reflect,operator),mean) sapply(split(reflect,operator),sd)# Model using treatment contrastscontrasts(pulpdat$operator) <- contr.treatment(4) mod1 <- lm(reflect~operator,data=pulpdat) summary(mod1)# Model using deviation codingcontrasts(pulpdat$operator) <- contr.sum(4) mod2 <- lm(reflect~operator,data=pulpdat) summary(mod2)#pairwise.t.test(reflect,operator,conf.level=0.95,p.adj = "bonf") TukeyHSD(aov(reflect~operator),conf.level=0.95)# Question 3# Read in BHH Data from chapter 5, problem 6 prb0506 <- read.table("~/Dropbox/Docs/sta305/BHHData/BHH2-Data/prb0506.dat", header=TRUE, q


R語言代做編程輔導(dǎo)因子實驗設(shè)計STA305/1004 Assignment(附答案)的評論 (共 條)

分享到微博請遵守國家法律
仲巴县| 凤冈县| 榆树市| 石城县| 什邡市| 炉霍县| 石渠县| 芮城县| 南宫市| 平谷区| 阳高县| 玛沁县| 蓬溪县| 平陆县| 济源市| 南木林县| 张家界市| 白银市| 沂源县| 桐城市| 平湖市| 洛扎县| 赤壁市| 邯郸县| 永靖县| 景宁| 井冈山市| 昌宁县| 纳雍县| 韩城市| 化州市| 信阳市| 万全县| 民权县| 大埔县| 五大连池市| 万源市| 阿克陶县| 怀宁县| 湖州市| 敖汉旗|