instruction stringlengths 9 38.7k |
|---|
The way I understand the Naive Bayes estimators is that the characteristic (or naive) assumption is that all Features are conditionally independent.
Now on top of this assumption, for continuos features it is also assumed that they are Gaussian distributed. My question is whether this is something inherent in the Naiv... |
I want to calculate the confidence interval for $\lambda$ from a small ($n=10$) set of repeated observations from a Poisson distribution. That is, I have $X_1, \dots, X_{10}$ which I believe are i.i.d. and I want a 95% confidence interval given these observations for $\lambda$.
I know I can use $\bar x \pm 1.96\frac{s}... |
Does anyone know where can I find a pseudo code or MATLAB code of the HMM forward algorithm?
|
I am working on a story problem for a project.
"You work for a small environmental foundation that wants to analyze fuel consumption. Your boss (in the year 2002) has asked you to help her analyze the 2001 data on highway fuel consumption to find out what a change in the tax rate does to fuel consumption. She has prov... |
Let $X_1, X_2, \ldots, X_{16}$ be independent with $N(3,4)$ distributions and $\bar{X}$ denote the sample mean. Find:
$P(-8 < 2 \bar{X} < -4)$.
A number $K$ such that $P(-K < 2 \bar{X} < K) = 0.99$.
$P(-10 < 3 X_1+X_7 < -8)$.
A number $K$ such that $P(3 X_2+X_5 < K) = 0.3$.
If someone could give me some help or hint... |
I'm conducting a sr and meta analysis of interventions that target children with ADHD in school settings. The studies reviewed include both treatment as usual comparisons and experiments placebo controls. Can these types of studies be combined in a single meta analytic synthesis? I wondered about conducting a modera... |
I'm doing a neg binomial glmm in glmmADMB. The random effects are not quite normally distributed (see attached images). How concerned about this do I need to be? If this is too much of a violation, are there other options for analyzing longitudinal data?
|
I have some previous knowledge about classification, however am now struggling in understanding how classification algorithms can deal with features with different dimensions. Up to now I have only used a feature vector consisting of scalars, where each scalar had one feature for itself (e.g. the variance of the data).... |
I'm doing machine learning with a training set, validation set and test set.
I train with the L_BFGS algorithm. The training converges all the time. I have the default accuracy from scipy, which is quite high.
Then I have a regularization parameter that I optimize on the validation set. I do this with grid search. For ... |
I'm dealing with hierarchical model where $Y_i$ are from normal distribution.
About variance the formulation is the following:
Similarly, the data contain substantial information about the measurement error, $\sigma^2$, so the relatively noninformative Jeffreys' prior, $l/\sigma^2$, was used for this parameter
So, what... |
If I am doing a two tailed $t$ test, i.e my null and alternate hypothesis are
$$H_0: \mu = 0$$
$$H_1: \mu \neq 0,$$
then would I choose and $\alpha$ value of $0.05$ for a $95$% confidence interval or a value of $0.025$?
EDIT: Also, will be degrees of freedom be $n - 2$ or $n - 1$?
|
The key feature of distance correlation is that if it is $0$ then two variables are independent. If the pearson correlation is zero, however, this does not imply independence. How would one interpret distance correlation?
|
When reading the derivation of LDA models, I usually get the following equations.
I do not quite understand the second step, where $p(\mathbf{z}_{-i},\mathbf{w}|\alpha,\beta)$ was removed. Is that because it can be thought of as a constant when studying $z_{i}$. I know this is a common practice in Bayesian statistics,... |
as I am stepping into forecasting with ARIMA models, I am trying to understand how I can improve a forecast based on ARIMA fit with seasonality and drift.
My data is the following time series ( over 3 years, with clear trend upwards and visible seasonality, which seems to be not supported by autocorrelation at lags 12... |
The lme4 package in R includes the cake dataset.
library(lme4)
head(cake[,2:4], 20)
recipe temperature angle
1 A 175 42
2 A 185 46
3 A 195 47
4 A 205 39
5 A 215 53
6 A 225 42
7 B 175 39
8 B ... |
Before I ask my question, let me give you a bit of background about what I know about statistics so that you have a better sense of the types of resources that I'm looking for.
I'm a graduate student in psychology, and as such, I use statistics almost every day. By now I'm familiar with a pretty broad array of techniq... |
[I asked this on StackOverflow and was told it would be a better fit here]
I am including a basic recommendation engine in a very small project for my final exam. I understand the code and the math but I am not too certain as to when I should update the values.
In this project it would be fairly simple to update in re... |
Let $A[n\times m]$ represents the term-document matrix, where, $n$ is the number of terms and $m$ is the number of documents. This matrix can be composed into 3 matrices (SVD decomposition) such as,
$A = U\times W \times V^T$
Its truncated version can be written as:
$A_k = U_k\times W_k \times... |
I am about to conduct two Principal Component Analyses (PCA) on species abundance data and species composition data. I have about 12 different locations where abundance data for over 50 invertebrate species has been collected. The software I am using has an option to log transform and scale the data prior to analyses. ... |
I have a questionnaire that contains some skip questions. Like, say, the 3rd question is a yes/no type question. Only those who answered "yes" to the 3rd question are requested to answer the 4th, 5th and 6th question and those who answered "no" are requested to skip these three questions.
I am sorry that I have no exp... |
I can't seem to find a definitive answer to my question.
My data consists of several plots with measured means varying from 0.27 to 0.57. In my case, all data values are positive, but the measurement itself is based on a ratio of reflectance values that can range from -1 to +1. The plots represent values of the NDVI, a... |
Suppose I fit an AR(2) model to a dataset and get the diagnostics. If the Ljung-Box Statistic is significant for all lags for a time series model what is the interpretation of that? Does that mean that the model is not a good fit? Other than this, the ACF of the residuals indicate that they are stationary and normal.
|
I have a question about the use of the Fama & French factors.
I’m currently examining possible differences in abnormal earnings between to different type of real estate portfolios. To counter Roll’s (1977) critique on the use of Beta to estimate a portfolio’s degree of outperformance, I will include a few approaches.... |
I have what I naively thought to be a fairly straight forward problem that involves outlier detection for many different sets of count data. Specifically, I want to determine if one or more values in a series of count data is higher or lower than expected relative to the rest of the counts in the distribution.
The conf... |
I have the following scenario:
I have two "states". I measure variables $n$ that are affected by the state. A state of 0 is the background state and in this case I expect each variable $n_i$ to be drawn from a normal distribution $N_i$~$(\mu_i,\sigma_i)$ for which I already estimated the parameters. When the state is 1... |
I would be extremely glad if someone could help me with this.
I'm using the gologit2 generalized logistic regression/ partial proportional odds model for ordinal dependent variables. The dependent variable describes firm size and is a categorical variable with three groups, small, medium and large.
I used margeff to ge... |
I think I'm not getting the reasoning behind the bootstrap distribution, so I was wondering if anybody could clarify it for me...
This is an example from the textbook:
We have an original sample of size n=50. Then the textbook says that we can use a software in order to draw 1000 resamples of size 50 from the original ... |
I am attempting to devise a replication-based survey design that closely replicates a taylor-series design used by the US Government publication - where I do not have access to all of the CLUSTER variables.
The US Census Bureau publishes a triennial survey of New York City dwellings called the NYCHVS. In their officia... |
I create time series model via:
model = sarima(data,1,0,1)
sarima.for(data,100,1,0,1)
The model diagnostics look good and indicate that the model is a good fit. However, when I try to forecast the data, all the forecasted values are the same. Why is this?
|
I am working on a machine learning experiment comparing the use of multiple different neural network classifiers by applying them on a large number of datasets, using stratified 10-fold cross-validation. I measure the performance as the average of the errors on the validation set (sometimes referred to as test set) of ... |
I know that infrequent events, especially disasters like earthquakes, can often be modeled by the Poisson distribution. I was thinking of recent events like the Boston bombing and the ricin envelope; these events are infrequent disasters, but aren't independent of past events, because of copycats.
What are some good di... |
Consider the LSR line: y = 1158.86 - 5.54x
A researcher sought to examine the effect of average teacher salary on the average (total) SAT score. The data, measured at the state level so 50 observations in total, were average teacher salary (measured in thousands of dollars) and average SAT scores out of 1600 points (t... |
So a colleague and myself are using principal component analysis (PCA) or non metric multidimensional scaling (NMDS) to examine how environmental variables influence patterns in benthic community composition. A common method is to fit environmental vectors on to an ordination. The length and direction of the vectors se... |
I have a time series data set. I can decompose it and get the trend but I would like to put confidence ranges around the trend (past) not the forecast-ed component. The decompose function also doesn't handle N/As very well so is there another way to define the trend with data that has N/As. I have been trying to use... |
I am using the example from Shumway's book. How do I get the p-values for all the coefficients? Do I divide the coeffients by the standard errors?
Call:
arima(x = cmort, order = c(2, 0, 0), xreg = cbind(trend, temp, temp2, part))
Coefficients:
ar1 ar2 intercept trend temp temp2 p... |
In the original Sparse PCA paper
Sparse Principal Component Analysis
ZOU, HASTIE, TIBSHIRANI
they describe a way to compute the adjusted variance explained by computing QR decomposition of the Z matrix (size n times k) where n is the number of observations and k is the low dimensional space. Then the adjusted variance ... |
I have a survey with a list of questions in which respondents can pick their perceived personality traits. Then I have a question that asks respondents about their favorite in-game character's perceived personality and a question that asks respondents about their least favorite in-game character's perceived personality... |
So I'm working with logistic regression models in R. Though I'm still new to statistics I feel like I got a bit of an understanding for regression models by now, but there's still something that bothers me:
Looking at the linked picture, you see the summary R prints for an example model I created. The model is trying t... |
Consider I have the following probabilities:
$$P(A|B) = 0.86 $$
$$ P(A|B^C) = 0.35 $$
$$ P(B) = 0.80 $$
$$ P(A) = 0.758$$
Is there necessary information given to calculate $P(B^C|A^C)$? If so please guide me how. Thanks in advance.
|
Edit:
I've conducted an item analysis on four variables - two quizzes and two psychological attributes, namely emotional intelligence and happiness. Its a within-subject design with students as participants. They all have Cronbach's alpha above .70 or have been revised to meet that criteria. I have a scenario where a s... |
I have a few questions regarding quantile regression and how to interpret the results. I have several independent variables and I want to figure out which combination of variables have the highest predictive value. I have preformed quantile regression, in Eviews, on all possible combinations of the 10 independent varia... |
I've been using the Johansen Procedure to check and correct for cointegration in my model, by estimating a VECM instead of VAR. But now I want to estimate a new model, in which I expect the same cointegrated relationships, however, some of my variables are now stationary (because they are one of the former variables, s... |
I am developing network meta-analysis BUGS model that I will use to compare Hazard Ratios in studies that assume Box Proportional Hazard model.
As input I am given pairs: (log HR, its standard error) that measure magnitude of the effect of difference between two treatments. Naturally I assume normal distribution mode... |
How do I get better forecasts for my model? Is the plot supposed to look like this? I am using the code:
fit <- auto.arima(blah)
fcast <- forecast(fit,100)
|
I am currently rather confused about the design type for my study.
I am looking at a number of measures pre and post intervention with control group in a community sample. The sample collected was not through randomization. Is the design type quasi-experimental? What kind of statistics can i use for this design.
Note:... |
This is the PDF that I am dealing with:
fx = 0.3 if (0<=x<1)
0.1 if (1<=x<2)
0.25 if (2<=x<3)
0.15 if (3<=x<4)
0.2 if (4<=x<5)
0 otherwise
I have to write a function gen_xy that will generate a sequence of points (X,Y) uniformly distributed in (0,5)x(0,0.5) until one lies in the region under the curve of y=fx(x)
Th... |
Hi I am first year undergrad with math background, next year I will be starting a course in introductory mathematical statistics at the University of Toronto,
and the textbook the university uses, Mathematical Statistics and Data Analysis by Rice, has received very poor ratings both from past students and online. So I ... |
I have references that advised to consider a sample size of minimum 20 for data fitting distribution.
Is there any sense in this?
thanks
|
It is my first question here, so my excuses if my contribution is naïve.
I'm facing a classification problem in which I have a minority class (~100 samples) labeled as "Positive", another class (~100-1000 samples) labeled as "Likely positive", and a third one (~3000 samples) labeled as "Unknown" or "Unlabeled" or, if y... |
I have two data about people's weights. One is from normal patients, and another is about patients with a specific disease.
Let's say:
weight_Normals <- c(170, 140, 122, 143, 156, 122, 189, 200, 201, 133, 155, .....)
weight_Disease <- c(220, 145, 167, 177, 190, 130, 169, 100, 230, 210, 222, .....)
I can compute the p... |
I'm attending a course in computational statistics, which should be an applied course. We study different methods, which are important in "reality". One of these topics is Cross Validation. I'm faced with the following problem coming from a homework. We are given a dataset and suppose that the model is of the form
$$ Y... |
I am VERY new to stats. I have a large amount of life-time data (delay in arrival since start of experiment) from repeat experiments. Some data is missing, but essentially represents a delay longer than the experiment time (right-censored data).
I want to estimate this data. I could use the experiment time for each ... |
I want to do clustering of my data in R, using kmeans or hclust (I am a new R user).
My data is ordinal, Likert scale, to measure the causes of cost escalation. I have 41 causes "variables" that scaled from 1 to 5 (1: no effect, 5: major effect). I have about 160 observations "who rate the causes".
I would like to clus... |
I have data regarding the number of deaths in a city over 35 years. I've collated the data, and now wish to prove the difference in total number of deaths between seasons is significant. Spring has 631 deaths, summer 540 deaths, autumn 502 deaths and winter has 605 deaths. Clearly there is a big difference between spri... |
Sorry I am a stats newbie, I understood that I can use the search feature, I tried to search but I am afraid that I am not using the right terms and the results returned are not quite relevant to my question.
I have a set of data readings (50 cases), A is a number between [0,1] and B is {yes,no}. My hypothesis / I am ... |
I have data that looks like this:
011100111110100111
111111111111110010
111100001111000011
1D lanes of streams of data. Each row signifies the presence of a thing at that time with a 1 or a 0. Things tend to exist in consecutive chunks across the stream. The vertical order of the rows doesn't matter, patterns can occu... |
I am looking for a robust estimation of the mean that has a specific property. I have a set of elements for which I want to calculate this statistic. Then, I add new elements one at a time, and for each additional element I would like to recalculate the statistic (also known as an online algorithm). I would like this u... |
Given a sequence of sample points $X_1, \dots, X_n$, I am trying to
find a Matlab function to
compute the signed rank statistic defined as $$ \sum_{i=1}^n sign(X_i) r_i $$ where $r_i$ is the rank of $|X_i|$ in $|X_1|,
\dots, |X_n|$, and $sign(X_i)$ returns $1$ if $X_i >0$ and $-1$ if
$X_i <0$.
and also to comput... |
Let's say I have a large, un-balanced binary classification problem (in reality nrow is more like 500k, and ncol is more like 500):
set.seed(42)
nrow <- 10000
ncol <- 50
X <- matrix(rnorm(nrow*ncol), ncol=ncol)
Y <- X %*% rnorm(ncol(X)) * sample(0:1, ncol(X), replace=TRUE) + rnorm(nrow(X))
Y <- Y-20
Y <- exp(Y)/(1+exp(... |
I know that k-means is unsupervised and is used for clustering etc and that k-NN is supervised. But I wanted to know concrete differences between the two?
|
I have calulated an OLS with and without a constant term. However, besides that the values are different I haven`t really found anything valueable?
Therefore my question is:
Whats the biggest difference in calculating a simple regression model with/without a constant term?
I really appreciate your reply!
|
I have two data sets in which the same Likert scale questions were answered by two different responders. I want to calculate which level they are correlated.
My data set is like
WorkerID Question Worker_answer Employer_answer_about_his_worker
1 1 3 2
1 ... |
I was reading the user's guide of SPSS on missing value analysis and I found the terms monotonic and non-monotonic pattern of missing values. The terms are not quite clear to me. They used telco_missing.sav data file to show a graph from which they comment:
If the data are monotone, then all missing cells and nonmissi... |
I would like to calculate the confidence interval for my autocorrelation function. Does this calculation differ in any way from the normal way of calculating confidence intervals? How would I calculate the CF for cross correlation between two time series?
Thank you for any help =)
|
I have this example logit model where some of the variables are factors but I'm not too sure how to interpret the effects. If I understand logit models correctly the coefficients that we get from the fitted model are the change in log-odds per unit change in the explanatory variable holding everything else constant.
I... |
We can test the symmetry of a distribution around $0$ by Wilcoxon sign rank test, based on its sample.
But if we want to test if a distribution is symmetric around its mean, based on its sample $X_1, \dots, X_n$, is it valid to first normalize $X_i$ by the sample mean as $Y_i := X_i - \bar{X}$, and then apply Wilcoxon ... |
I have experemental data that not contain negative values (and theoretically can not contain negative values). When I do kernel density estimates of probability distribution function in R I get function which start from negative values. Something like that:
set.seed(12345)
data<-rlnorm(100,0,0.5)
plot(density(data, ke... |
I am struggling to understand kernels and how to determine whether they are proper or not.
For these examples can anyone explain why an example is proper and why another example is not.
Given $K_1$ and $K_2$ two proper kernels, determine which of the following formulae define proper kernels:
$$
K_4(x_1,x_2) = -K_1(x_1,... |
I need to calculate the regression variance ($\sigma^2$) in order to estimate both the confidence intervals and the prediction intervals in a gls regression analysis. For the analysis, the covariance matrix ($V$) of the response variable ($y$) is known in advance, and so I use it directly as the weighting matrix (=$V^... |
I have a model with two random effects
> lmer(TotalPayoff~Type+Game+PgvnD*Asym+(1|Subject)+(1|Pairing),REML=FALSE,data=table)-
>m1
each pairing contains 2 subjects and each Subject is in 2 different pairings with different subjects. For some reason the subject random effect has SD =0 I do not understand this? Is i... |
Whilst studying likelihood methodologies, I've come across some results that I haven't been able to work out.
If $X$ and $Y$ are Poisson with means $\mu_{X}$ and $\mu_{Y}$, then the conditional distribution of $X$ given $X+Y$ is binomial with parameters $n = X+Y$ and $\pi = \frac{\mu_{X}}{mu_{X}+mu_{Y}}$.
Assuming $y_... |
Please see the model below (link to bigger image). The independent variables are properties of 2500 companies from 32 countries, trying to explain companies' CSR (corporate social responsibility) score.
I am worried about the VIF scores of especially the LAW_, GCI_ and HOF_ variables but I really need them all include... |
I am trying to find a more aesthetic way to present an interaction with a quadratic term in a logistic regression (categorisation of continuous variable is not appropriate).
For a simpler example I use a linear term.
set.seed(1)
df<-data.frame(y=factor(rbinom(50,1,0.5)),var1=rnorm(50),var2=factor(rbinom(50,1,0.5)))
mo... |
How can I test heteroskedasticity of a time series in R? I have heard of two tests McLeod.Li.test and bptest (Breusch-Pagan test). Can I use these two tests? and what are the differences and assumptions of these tests if I can use them?
Thanks
|
Original simple question:
"Given a fair coin that has been tossed 100 times, each time landing heads, would it be more likely that that the next coin flip be tails or heads"
The proportion of head to tails is 1 to 1 as number of trails approach infinity (this is a fact correct?). Therefore, if this must be the case, mu... |
I'm learning PyMC and basically I have a random variable $Z = X + Y$ where (say) $X \sim \mathrm{Normal}(\theta_X)$ and $Y \sim \mathrm{Lognormal}(\theta_Y)$ and $Z$ has no simple closed-form distribution. Now I have observations $z_i,\,i=1...N$ of $Z$ and I want to infer $\theta_X$ and $\theta_Y$. What's the most str... |
I have daily rainfall data for a given site going back about 30 years.
I have a building with an average daily demand for water of $L$ litres and a catchment of $A$ m$^2$ with a runoff coefficient of $c$.
How can I construct a model so that I can determine for a tank size T litres, The mean and variance of the
days pe... |
My standard disclaimer: I'm a programmer, not a stats guy, mostly wanting to understand statistical tests for optimizing web apps.
Let's say I want to measure monetization rate of users. "How many users monetize?". This is a yes/no question on each user.
After reading Wikipedia, I might say, "This yes/no question is... |
If I have a logistic regression model with 3 predictors, $x_1$, $x_2$, $x_3$, and then I remove $x_3$ from my model (left with only $x_1$ and $x_2$), are those models nested? And therefore I can use the likelihood ratio test ($\chi^2$ with 1 df in this case) to test if $x_3$ is necessary to keep in the model. Or are ... |
If you have two groups lets say Y any Z that change over "time", how do you compare if the increase rate of x and y over time is same or not. How would i set this up in R
|
If I have 10 Variables (Q,W,E,R,T,Y,U,I,P,A) and I want Q to be my response variable and other 9 to be my predictors variable. Do I write it in R like this
EXAMPLE<-glm(Q~W+E+R+T+Y+U+I+P+A,family=binomial)
Furthermore, what if Q is Binary (goes from 1 to 0) and all the other 9 variables are categorically numbered. i... |
I'm looking to analyse 400k replies to a Facebook-equivalent post to determine how many of them are written by bots, and how many of them are written by real people.
I don't have the resources to obtain all 400k replies, so I can only work with a sample (say, 4000 replies). I believe it's very likely that virtually all... |
I am trying to decompose and forecast a weekly time series which is believed to be affected by moving holidays (e.g. Chinese New Year, which happens in different weeks of a year).
I would like create a regressor variable to reflect the holiday effect on the series.
Is it correct to use the regressor variable as xreg ... |
I have a data set of x- and y-values, that I want make a linear fit of. Using polyfit(x,y,1) I get the coefficients a and b for a linear fit ax = b for this data, but I would also like to find the uncertainty or standard deviation for these coefficients. Does anyone know an easy way of doing this?
My Google-fu only gav... |
From the echocardiography database at a tertiary care center, 1,625 subjects (mean age, 44 6 14 years; 47% men) with normal echocardiographic findings between 2000 and 2009 were identified. Gender dif- ferences and association with body surface area were assessed retrospectively for right atrial long-axis and short-axi... |
I'm not entirely sure this question belongs here. (Maybe better suited on stackoverflow or theoretical computer science). But here it goes.
I'm reading a paper called. "Time-Frequency Analysis of Heart-Rate Variability". In this paper they discuss a new algorithm to automatically remove artifacts from a signal. The pse... |
For fun and amusement, you wonder how well student grades in Course 101 can predict scores in Course 102. So, you do a regression on grades from both classes.
If you got an r = .59 with $r^2$ = 35%, would you consider this strong or weak? Can you say anything more than concluding, "There’s obviously an association,... |
To illustrate the problem posed by the question: Consider the problem of differentiating between consumers who belong to two different segments. I could use a naive or a sophisticated approach as outlined below.
The question is: what is the benefit to using the sophisticated approach?
Naive Approach
Compute the summa... |
I have a closed room. I release some bacteria in the middle of it and let it settle onto previously located plates on the floor. Once the bacteria settles I collect the plates and count up how many bacteria are on each. I then have an idea of a spatial distribution. Results might look something like the contour plot:
... |
I have samples of two classes which are vectors in high dimensional space and I want to plot them in 2D or 3D.
I know about dimensionality reduction techniques, but I need a really simple and easy to use tool (in matlab, python or a prebuilt .exe).
Also I wonder is representation in 2D going to be "meaningful"? (For ex... |
I'm reading the technical manual for a linking study between two assessments. It's pretty clear that the table is model output from a fitted logistic regression equation. Here's what pass odds look like on test 2 as a function of score on test 1 (RIT score):
It seems silly to use a lookup table that rounds to 5 wh... |
As the title suggests, how should you set K in K-Nearest Neighbours?
Is it just a case of lower values of K are more susceptible to over-fitting and larger values of K are likely to give a more accurate reflection (less susceptible to noise).
Also the optimal value of K largely depends on the training set, but I was wo... |
I have a data set of x- and y-values, that I want make a linear fit on. Using polyfit(x,y,1) I get the coefficients a and b for a linear fit y=ax+b for this data, but I would also like to find the uncertainty or standard deviation for these coefficients. Does anyone know an easy way of doing this?
My Google-fu only gav... |
I have produced the following model:
>lmer(TotalPayoff~PgvnD*Type+Type*Asym+PgvnD*Asym+Game*Type+Game*PgvnD+Game*Asym+
(1|Subject)+(1|Pairing),REML=FALSE,data=table1)->m1
PgvnD=A percentage (numeric)
Asym= a factor 0 or 1
Type=a factor 1 or 2
Game= a factor 1 or 2
from this model the terms Type, G... |
Say, 5 random variables A,B,C,D,E which can take values either 0 or 1.
I have the theoretical population chances for the 32 cases of P(A,B,C,D,E). Obviously they add up to 1.
How to check if A,B,C,D,E are mutually independent.
0 0 0 1 0 -> 0.039026946
0 0 0 0 0 -> 0.221152694
0 0 0 0 1 -> 0.000000000
0 ... |
I want to show that $y'y= \hat y' \hat y + e'e$ hold for the least square model. I found out that:
$\hat y= X b$ with $b$ the least squares estimator of the coefficient vector and $e$ the residual vector.
I really appreciate your hints!
|
In my experiment I compare the jump height of participants pre and post 2 separate interventions.
All participants completed baseline measures of jump height. Participants then underwent a training intervention followed by post test measurements. On a separate occasion the same participants completed a different interv... |
I'm investigating the asymptotic normality of the estimators of the logistic model. I wish to do a simulation to show that the standard error decreases as sample size n increases. Assume i have explanatory variables x1, x2,...,x7 and response variable y. How do I do this?
|
I have calculated a posterior distribution where the highest probability (peak of posterior-curve) is at 99%. But the mean probability is lower, at about 98%. This is of course because "the curve" stretches much further toward 0 than it can toward 100.
I see in literature that the mean value is what matters (and the di... |
I have a linear regression model with one categorical variable $A$ (male & female) and one continuous variable $B$.
I set up contrasts codes in R with options(contrasts=c("contr.sum","contr.poly")).
And now I have Type III sums of squares for $A$, $B$, and their interaction (A:B) using drop1(model, .~., test="F").
Wh... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.