由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - R question: how to reduce the number of loops by using apply function in my case?
相关主题
R lm一问问一个用simulation的问题
A question about regressiondeviance residual
为什么数据‘看起来’不错,可是R^2却很低2 sample t-test with bootstrap 怎么搞?
R问题:如果容易的得到Residual Sum of Squares?two-way anova 的F-value 的意义。
matlab里怎么做residual是自回归的regression? (转载)regression后的residual是个双峰分布
【欢迎进来讨论】for loop in Rresidual~predict plot出现这个样子,说明了什么?
怎样用R 来提取 micrarray 中的regressor variable 的值? (转载)Question Proc GENMOD
normality test mix modelResidual and Partial Correlation
相关话题的讨论汇总
话题: ssr话题: sum话题: residuals话题: squared话题: bar
进入Statistics版参与讨论
1 (共1页)
c********r
发帖数: 36
1
Dear all,
I have a vector X and want to calculate the sum of squared residuals (SSR)
at each data point.
SSR at data point m consists of two parts. The first part is the sum of
squared residuals for all data points before m, and the second part is the
sum of squared residuals for all data points after m (see below formula).
SSR(m) = sum_i (X_i - X1_bar)^2 + sum_j (X_j - X2_bar)^2, where i is from 0
to m and j is from m+1 to n. X1_bar and X2_bar are the means for each
segment.
I will get one SSR
1 (共1页)
进入Statistics版参与讨论
相关主题
Residual and Partial Correlationmatlab里怎么做residual是自回归的regression? (转载)
问个SAS regression问题【欢迎进来讨论】for loop in R
这种方法在regression有效吗怎样用R 来提取 micrarray 中的regressor variable 的值? (转载)
很desperate,求问生物统计牛人一些interview技术问题。。。。normality test mix model
R lm一问问一个用simulation的问题
A question about regressiondeviance residual
为什么数据‘看起来’不错,可是R^2却很低2 sample t-test with bootstrap 怎么搞?
R问题:如果容易的得到Residual Sum of Squares?two-way anova 的F-value 的意义。
相关话题的讨论汇总
话题: ssr话题: sum话题: residuals话题: squared话题: bar