instruction stringlengths 9 38.7k |
|---|
I'm working on a dataset with the following variables:
Y: a boolean telling whether the subject has experienced a seizure
ID: the id of the subject
Sess: the subject's session number (a subject has been observed multiple times)
X3: numeric measurements of the subject's behavior during the session
X4: "
X6: "
Th... |
Can you correlate 2 Likert scales when the question for each one was different?
I have 1 question which asks how concerned someone is about pollution. They rank this on a Likert Scale of 1-5 where 1 is most concerned and 5 not at all.
Then my other question asks whether people intend to take any extra measures to reduc... |
Given a dataset of lines containing 6 wind forecast values plus 1 observed (actual) value in each like:
FCT1 FCT2 FCT3 FCT4 FCT5 FCT6 OBSERVED
-3.17 3.51 -5.71 1.37 -0.22 -0.65 -2.38
-2.7 2.21 -0.71 2.73 -0.33 -2.62 -1.38
-1.2 3.15 -4.17 3.33 -0.48 -1.65 ... |
I've got a bunch of data on pop singers' performance on the Hot 100 charts over time, and I'm trying to compare the early part of different artists' careers. For example, I might look compare Miley Cyrus' career to the commensurate period of Cher's career:
(The y axis is total "top 10 points" --- 10 points for a weekl... |
I have a computer simulation from which I get a sample of values of some microscopic quantity $X$, i.e. $\{ x_1,\ldots,x_N \}$. I'm interested in estimating the expected value of $X$, i.e. $E[ X]\approx\frac{1}{N}\sum x_i$, and the variance associated with this estimate.
Now, do I understand correctly that:
taking th... |
I was hoping someone could propose an argument explaining why the random variables $Y_1=X_2-X_1$ and $Y_2=X_1+X_2$, $X_i$ having the standard normal distribution, are statistically independent. The proof for that fact follows easily from the MGF technique, yet I find it extremely counter-intuitive.
I would appreciat... |
Conceptually, what is the reason why the correlation between growth rates of A and B would be different from correlation between actual A and B? Under what circumstances would the growth rate correlation be higher? How about lower? How about equal?
|
So I realize this has been asked before: e.g. What are the use cases related to cluster analysis of different distance metrics? but I've found the answers somewhat contradictory to what is suggested should be possible in the literature.
Recently I have read two papers that have mention using the kmeans algorithm with ... |
I am trying to perform analysis similar to Gerlach et al. (2002). it involves predicting the posterior probability of a particular binary outcome using the previous 5 observations. I was just wondering which package in R would be best to use for this.
I was also interested in how one could manipulate the arguments in t... |
Any help would be appreciated, as I'm not sure how to proceed. I have a dataset with binary data and have been able to fit a logistic regression model to it (presence of disease, for example, as a function of age). The data coverage is large, spanning ages 0-90, and I believe I can then use the output betas to predict... |
Context
Environmental data (e.g., pollutant concentrations in water, soil, air) are often lognormally distributed. Even when they are not, we tend to assume that they are (for better or worse).
Because of this, 99.5% of the time that I create boxplots, they are presented with a log-scaled concentration axis. Here's an ... |
I am trying to create a simple GMM estimator for the mean of a normally distributed random variable using the first three odd central moments of a normal distribution (all of which should be zero theoretically).
In two stage GMM, normally the first step is to minimise a least squares cost function of the errors of each... |
if I have a table like this
In which,
site = different sites of measurement (tissue or organ)
type = different types of virus
And I want to ask something about the data
1.What test can I use to test if the distribution of type is similar within site 1, site 2, site 3, etc. It looks similar, but I don't know to proof i... |
I dealing with 3 covariates {x1, x2, x3} all three are discrete and contain missing data.
x1 | x2| x3 |
--------------
3 | 2 | . |
. | 1 | 3 |
1 | . | 2 |
3 | 2 | . |
2 | .... |
For consistency of OLS estimator for linear model
$$
y_i = \beta^T x_i + \epsilon_i, \; i = 1,\cdots, n,
$$
the model assumptions are usually (the ones I am familiar with)
The sequence of random vectors $\{ (x_i, \epsilon_i) \}$ is (jointly) strictly stationary and ergodic.
$\mathbb{E}[x_i \epsilon_i] = 0$ for all $... |
The journal Applied Statistics used to have a section on algorithms, which are available online. Griffiths and Hill also published a selection of these algorithms in a book in 1985. But I can't find any modern equivalent of these resources anywhere. By modern, I mean something that has the updated versions of the algor... |
I am looking for a research paper that basically describes a hidden markov model that has multiple observations, and some observations that have conditional dependencies. For example, please consider the following figure that shows two latent states with 5 observed variables. Here the variable obs5 is dependent on it's... |
I have a data set with 7 predictor variables and one dependent variable. The dependent variable has 4 categories so it's not binomial. I need to fit a probit model. I need codes for probit model in R, SPSS or Matlab.
|
So this has really been bothering me and I was hoping for a (simple!) explanation if possible.
Suppose I've specified a linear regression model:
$$
Y = \beta_0 + \beta_1 X + \epsilon
$$
And an alternative:
$$
Y = \beta_0 + \beta_1 X + \beta_2 X^2 + \epsilon
$$
And I'm trying to estimate the $\beta$s, say perhaps throu... |
If we select different values of the parameter $\lambda$, we could obtain solutions with different sparsity levels. Does it mean the regularization path is how to select the coordinate that could get faster convergence? I'm a little confused although I have heard about sparsity often. In addition, could you please give... |
I have a directed multigraph that is used to represent an online discussion forum, where each actor is able to contribute comments to a discussion and have their comments commented on by other actors.
Which centrality measures are most appropriate to use for a directed multigraph? Can I use the standard centrality mea... |
I have these stages (ordered) for preprocessing in my binary classification problem.
Dividing data based on criteria (class1 and class2 databases)
Outlier detection (removing X - mean(X) >= 2*std(X) based on every feature)
data balancing ( in every year - I have financial data and I'm balancing data based on some feat... |
Assume we want to estimate the mixing probabilities ($\pi_{k}$) for each member distribution in the mixture model.
We know that $\sum_{m}^{K}\pi_{m}=1$, so we can formulate the optimization problem as a Lagrangian multiplier; the function we want to maximize (w.r.t. $\pi_{k}$) is is given by,
$$ Q = \sum_{l}^{n}\sum_{m... |
I have a dataset of items and I want to measure how my clustering method works. I'm using R and simple k-means clustering. I have a lets say gold standard of my clusters and I want to see how good is the result of my clustering algorithm based on the features I used. Is there any straightforward way to do that in R? I ... |
Question
Values taken from adjecent windows in a sliding windows are corrolated. If I calculate a p-value from each window, how can I correct for the fact I have tested many windows, given that the windows aren't independent?
Details
I have data points (sequencing read start positions) that can take any one of a limite... |
I want to ask regarding non-response bias. I have sent my questionnaire on-line to SMEs in Malaysia. However, I have sent reminders many times (around 5 times). However, now I cannot recall when the reminders were taken place as my account has been cancelled on the on-line questionnaire system. However, based on my gue... |
Is there any way of selecting the best possible threshold to minimize the number of false positives and false negatives (to get the best possible minimized combination of false +ves and -ves)?
|
I have used mlogit package and I am trying to summarize the results I have from my model. I have a question regarding the reference value and will get to that in a moment.
redata.full <- mlogit(no.C~ 1| WR+age+age2+BP+noC.1yr, data=redata, reflevel="0", na.action=na.fail)
no.C = number of offspring
WR = risk
age+... |
The combination of a $\Gamma$-distribution with the log-link function in a generalized linear model can be a useful model. However, in my experience the iterative weighted least squares (IWLS) algorithm (specifically, the implementation in R via glm) does not always converge.
The log-link is not the canonical link for... |
I know that it's not right to enter variables having multicollinearity (high correlation) into a regression analysis. But if I'm using backward stepwise regression could I add all the highly correlated predictors and expect the best predictors to remain in the model at the end or the analysis could go awry? My experien... |
I've been reading the paper of group lasso, "Model selection and estimation in regression with
grouped variables". http://www.stat.washington.edu/courses/stat527/s13/readings/yuanlin07.pdf
In page 53 of the above paper, I don't know how to obtain Eqn 2.3 and derive Eqn. 2.4 from Eqn. 2.2:
The following is my derivatio... |
There exists a certain school of thought according to which the most widespread approach to statistical testing is a "hybrid" between two approaches: that of Fisher and that of Neyman-Pearson; these two approaches, the claim goes, are "incompatible" and hence the resulting "hybrid" is an "incoherent mishmash". I will p... |
I'm doing a project to predict probability of delinquent for individual loans. Seems the model I fit is not good and I want to improve the model. However, I'm confused by the results I got and don't know what to do next. Can anyone kindly give me some instructions on the project?
The outcome is binary, where 1 stands ... |
We performed a biomechanical study, comparing an intact state to 5 different deficiency states on the same knee cadaver specimen. This was conducted on a very small sample size (n=8). My problem is, that some of the 5 deficiency variables are not normally distributed. My original plan was to compare each of the deficie... |
Do we look at the absolute value of the leverage or the relative value?
For instance, based on the chart below, the largest leverage is about 0.023, it is big compared to other data points, but I'm not sure if there's something like threshold in VIF that indicating a high leverage?
|
I have two probability distributions and want to say that they are statistically different. Typically, I would use a K-S test. But, my data comes from multiple individuals, which suggests I have a random effect in the data that needs to be accounted for.
For example, I have 16 individuals (8 of species A, 8 of specie... |
I am trying to figure out why the following holds:
Given $y_{i}=E[y_{i}|X_{i}]+\epsilon_{i}$ that
$E[\epsilon^{2}_{i}] =E[E[\epsilon^{2}_{i}|X_{i}]] = E[V[y_{i}|X_{i}]]$
Specifically I am trying to understand why $E[\epsilon^{2}_{i}|X_{i}] = V[y_{i}|X_{i}]$?
Clearly, I need a refresher on conditional variance and the... |
Let $\Sigma$ be a covariance matrix. According to the material in this link,
If the elements of $\Sigma$ are all positive, most of the off-diagonal elements in $\Sigma^{-1}$ will be negative.
This is actually written about the correlation matrix, but the principle should be the same.
What does "most" here mean? Is th... |
I took a 30 unit sample from a population. The sample distribution resulted to be normal. Can I state that the population distribution is normal too? If so, with what level of confidence?
|
I have a categorical predictor (income) and three continuous predictors (area, no. of bed rooms and no of cars). How can I form a single factor from these variables? In other words I want to combine all these variables to get one single variable.
|
I am wondering about some good online resources for learning how to implement spatial statistical techniques, like Moran's I and Geary's C, or even K Nearest Neighbors...any help is appreciated. Thanks!
|
I am seemingly blindly following this publication that has done work very similar to what I need to accomplish (page 18-21). My analysis is a multinomial logistic regression where I have 3 possible outcomes 0, 1, or 2 offspring produced. In the publication, they have recommended a Hosmer-Lemshow and a Persons test fo... |
When using bootstrapping for model evaluation, I always thought the out-of-bag samples were directly used as a test set. However, this appears not to be the case for the deprecated scikit-learn Bootstrap approach, which seems to build the test set from drawing with replacement from the out-of-bag data subset. What is t... |
I was wondering if there is a method that is equivalent to Latin Hypercube Sampling when the input space you are trying to sample from are a finite discrete set of possible values. For example, if I had two variables $x_1,x_2\in\mathcal{X}$ where $\mathcal{X}=\{1,2,3,4,5,6,7,8,9,10\}$ would there be a way to sample fr... |
I have one simple model and one more complex model (both are PDEs that describe displacement, when different kind of forces and thermal effects take place). From those, given some data, I calculate through PyMC the posterior distribution of a parameter (elasticity). Now I want to calculate the Bayes' factor, and I am s... |
I have two samples of data each estimates of a position x, y with Gaussian noise. One source has a larger variance than the other. Is this source in any way useful in providing a better estimate of the true position than the source with lower variance or should it just be discounted?
|
I have three different methods that I would like to compare using ANOVA. The variable to compare is method accuracy that I get trough cross-validation. This means that the same data set (N=60 subjects) is divided into training and test sets, and into placebo and treatment groups (every subject has taken part to both pl... |
I am working with summary statistics from a genome-wide association study (p-values, odds ratio, standard error).
The test statistic in the dataset was inflated, so I have had to correct for this inflation (using genomic correction). I now have p-values adjusted for the inflation, and would like to provide an estimate... |
Suppose I have $N$ items $\{x_n\}_{n=1}^N$ (also denote the feature vector as $x_n$) and I have observed $M$ pairwise preferences $\{x_{i_m} \succ x_{j_m}\}_{m=1}^M$ from a user. Now I want to predict this user's preference on an unseen pair $x_i$ and $x_j$.
I first assume a utility function $f\sim\mathcal{GP}(0,\Sigm... |
I've been looking for recommendations on whether it's better to use the sample standard deviation (SD) for a binomial distribution or use the analytic SD (or variance). It's for experiments with accuracy data so each subject contributes several binomial (correct or incorrect) responses resulting in an accuracy score be... |
I am writing a thesis on the validity of balance training tests.
I need to compare the tests and see if they correlate with one another in testing balance in the elderly.
There's a control and intervention group, and 9 different balance tests were used to test each subject. Need to see if the tests correlate with one a... |
I have 383 samples that have a heavy bias for some common values, how would I calculate the 95% CI for the mean? The CI that I calculated seems way off, which I assume is because my data does not look like a curve when I make a histogram. So I think I have to use something like bootstrapping, which I don't understand... |
I know that Gamma distribution does not allow 0 or negative values.
I was doing some simulation and when I write this code in R
set.seed(1234)
Gamma<- rgamma(2032,shape=1.77, rate= 4.33)
hist(Gamma, prob=T,ylim=c(0,2), xlim=c(-1,2.5))
lines(density( Gamma), col='blue')
I obtain this
I can see that the kernel line s... |
Suppose I have model 1: $$Y=aX$$ where $X$ is $n\times1$, consisting of a single feature. suppose I fit this model with $L_2$ penalty with coefficient $\lambda=1$ : $$ \underset{a}{\min} \sum_{i=1}^{n}(y_i-ax_i)^2 +a^2$$ and I find that $a=b$.
Now consider model 2 : $Y=a'X'+a''X''$ where $X',X''$ are just duplicates of... |
The lasso and ridge regression are tuned to the same alpha parameter. No matter what I tune the parameter to [0,1], the results of all three regressions are always the same (linear, ridge, lasso), which is a bit befuddling because I had previously suspected that there was some multicollinearity in my data due to high v... |
If I have a model where the set of features where a cosign distance measure makes sense for some of the features, and a Euclidean distance measure makes sense for the others for example using a BOW feature set with additional features like number publications made by the author, etc., how do I pick which metric I shoul... |
I'm trying to calculate a pseudo-R2 for linear mixed models using Nagelkerke's method .
My understanding is that Nagelkerke's pseudo-R2=1-EXP[(-2/n)(l(B)-l(0))], where l(B) and l(0) are the maximized log-likelihoods for the fitted model of interest and the null (intercept only) model, respectively.
The pseudo-R2 is th... |
I recently read a paper where the author says they used cointegration "with two degrees of freedom". What does degrees of freedom mean in this context?
|
I am using random forests for a class.
I am predicting weight training.
In scikit learn I always used a rule of thumb of a depth of 5, the depth x features rounded.
I had 53 features, rounded to 50 x 5 and got 250 for number of trees.
I picked 250 trees and 5 node depth and got great results.
I got 98% accuracy for my ... |
I want to make a 4 question, multiple choice survey in which each question asks about an analogous range of actions for slightly different scenarios. Each participant would only be administered the survey once. For example:
"In situation W how would you behave? (5[very aggressively] -- 1 [not aggressively])."
"In s... |
I am currently trying to fit a survival analysis model which has the following survival function:
$S(t) = \lambda_i e^{-\lambda_i t}$
but with
$\lambda_i = e^{\beta_0 +\beta_1 log(1+X_i)}$
where $X_i$ represents each unique observation.
I am trying to use the default survival package but am not sure where I can progr... |
I am doing a time series regression between 2 variables. I used the dynlm library in R. I'm trying to understand how to interpret the results.
Could you please point out where I am getting it wrong:
1) The R squared seems very low -- this indicates a weak linear relationship. Or too many outliers.
2) Normal QQ plot ... |
I have a kind of data and want to find the equation(poly coeff) of given data. For example equation for given sample data is simple a^2*b+10
a\b 5 10 15
________________________
3| 55 100 145
4| 90 170 250
5| 135 260 385
6| 190 370 550
What is the correct algorithms?
|
I would like to ask how do we estimate the probabilities in TRANS_GUESS and EMIS_GUESS matrices (see here http://www.mathworks.com/help/stats/hidden-markov-models-hmm.html#f8288 ) as an input for the Baum-Welch algorithm. Should they be calculated based on the data or are they completely random? I am a little bit confu... |
I would like to ask you for pairs or even triples of statistical tests which are, surprisingly, similar.
By similar I mean they test essentially the same hypotheses and lead to approximately the same p value and by surprisingly I mean they are hardly found in statistical texts.
One for the start:
Jonckheere-Terpstra-... |
I wonder if anyone has any links or advice on specifying a ratio of two explanatory variables in a linear regression? That is, specifying the two independent variables plus their ratio. We have data where the ratio term seems to be significant. Are there any known issues regarding the functional form or any other issue... |
I have 3 independent variables (1-5 Likert Scale) questions and I want to check how well these three can predict/explain my DV (1-5 Likert scale)
The three independent variables are:
1. Quality of information
2. Accessibility of staff
3. Quality of technical advice
My DV is:
Overall evaluation of service center
All var... |
cty time tl
Argentina 2009_Q4 3
Argentina 2010_Q1 2
Argentina 2010_Q2 7
Argentina 2010_Q3 7
Argentina 2010_Q4 10
Argentina 2011_Q1 7
Argentina 2011_Q2 7
Argentina 2011_Q3 1
Argentina 2011_Q4 7
Argentina 2012_Q1 5
The data set has around 40 countries with each country having quarterly data... |
I estimated a Transfer Entropy value TE(XY). Now I want to establish the statistical significance of the estimated value. Therefore I used the method of shuffled surrogates to estimate a shuffled surrogate TEss(XssYss) which should be close to zero because there should be no casual relationship between the shuffled tim... |
I am preparing a presentation about multiple regression. Most of my sources seem to equal unstandardized coefficients in multiple regression with the semipartial correlation of that IV with the DV. But one book says there is a slight difference:
both terms have the same enumerator, but the differ in the denominator: th... |
I am doing an introductory course in statistics and I'm struggling with one question in particular.
The question is:
Suppose two people each have to select a number from 00 to 99 (therefore 100 possible choices).
(a) The probability that they both pick the number 13 is:
2/100
1/100
1/200
1/10 000
2/10 000
(b) The pr... |
Outline
I'm working with data corrupted by a mixed Poisson-Gaussian noise model (for example with images gathered in astronomy or electron microscopy), and have been using the generalized Anscombe data transformation described in the paper:
"Optimal inversion of the generalized Anscombe transformation for
Poisson-Ga... |
I have Beta as my independent variable and Economic value added (EVA) as my dependent variable.
To calculate EVA I need to use Cost of capital and to calculate that I have to use Beta, so is it possible to use EVA as the dependent variable. thank you
EVA= Net Operating Profit After Taxes (NOPAT) - (Capital * Cost of... |
Is there any methodical way to compare the directions, magnitudes, etc of PCA results for different samples drawn from the same population?
I'm leaving the nature of the test deliberately vague because I'd like to hear all the various possibilities... e.g. there might be (and I'm speculating here) a test comparing the ... |
I want to test my classifier performance using a permutation test. I know how to test one actual value against a null distribution of values generated by randomly reassigning labels to my two classes.
However, in this case, I don't have one value but also a distribution of performances on correctly labelled data, becau... |
We have conducted a survey experiment with varying amounts of incentive (factor 1 = I1, I2, I3, I4, I5). The experiment was conducted stepwise in three subsequent studies (factor 2 = S1, S2, S3). Unfortunately, the factors are not fully crossed. The experimental design is as follows:
Outcome variable of the planned an... |
I am not good in statistics so I desperately need your help.
So I have this dataset of distributions, and I want to know if I can use the KS-test on it. the Idea is saying that the feature's distribution 1 in case 1 is different than its distribution 2 in case 2.
For example, let s take the feature "size" in two cases:... |
In the context of neural networks, what is the difference between training like this:
foreach observation in dataset:
compute_error(observation)
update_weights()
and
foreach observation in dataset:
compute_error(observation)
update_weights()
Both train over the entire dataset.
|
Recently I am playing in the famous Big-Data website Kaggle. There is a Display Advertising Challenge. In this competition, you are giving a training file which include huge records. the records is constitute of 13 integer features and 26 categorical features and a label that indicates an ad is clicked(1) or not(0). Th... |
I am new to analysis. I would like to know relation between my 2 sets of categorical variables , Both my variables has more than 50 levels. Is it a good approach to create dummy variable and do the logistic regression? Please suggest if there is any better approach.
|
In meta-analysis, I know that an important assumption is independence. Clearly, if we want to estimate a pooled effect size, its best if each effect comes from an independent sample of observers. Otherwise, the summary effect will be overly influenced by samples that contribute more than one effect size to the model.
H... |
I've recently come across this formula from an ITU-T standard in a project that I'm working on.
The application of the formula is to compare two vectors containing some per frame statistics from two very similar video signals, and try to find any evidence of a delay of $n$ frames between them, i.e. that the vectors con... |
I have a question that pertains to time series or more likely pertains just to simple math.
Lets suppose that I am measuring the number of online visitors to 5 websites on a monthly basis, so I have this data for the months of Jan - Dec.
What I want to understand is "What is average yearly growth rate for the websites... |
Let's say I have the two following ARIMA models:
ARIMA(7,1,1) (no seasonality)
ARIMA(6,1,1)(1,0,0)7 (seasonality of period 7).
Are they conceptually the same? If so, why is that when I model them using R, I get different models and different fits?
|
I have been working with some time-series theory and I noticed something that I can understand "mathematically", but not based on the intuitive explanations of what the partial auto-correlation function (PACF) is supposed to represent: The correlation between points of a given lag with the effects of smaller correlatio... |
I am trying to compare the performance of two devices designed to cool anaesthetised patients. This is a substudy analysis and the patient allocation between the groups is not even. Once cooling was started, they were cooled to 33 degrees before being re-warmed. Temperature measurements were taken once every hour. Both... |
I'm just starting to work with some count data and I'm still trying to understand some of the complexities of it, so any help would be greatly appreciated. First the simple version, and then the potentially more complex version.
I have a dataset that looks something like this:
Group Count
L 4
R 5
C ... |
I'm trying to test for a trend across levels of a categorical variable using a contrast statement in a model and can not figure out how to do it when there are odd numbers of levels. Looking at SAS's support page for contrast statements (ie http://support.sas.com/kb/22/912.html) it's easy to set up for even numbers of... |
I have a fairly large 1-dimensional array that I am trying to cluster. I came across several other questions on this site where the top answer is to use a Kernel Density Estimation and then locate local minima: Determine different clusters of 1d data from database and Alternative to Otsu for dividing data into two grou... |
I have been assigned the task of helping someone who has collected some survey associated data related to some kind of government facilities provided to people. The data corresponding to small scale entrepreneurs across 3 cities who are the providing the services to the customers looks like this (sample data):
Years of... |
I am doing some post-hoc comparisons (in lme4, but here I'll just present a simple linear model), and I am having a hard time making sure that I am building the right matrix of contrasts to test differences between some combinations of factors.
Here is my model:
dataset <- data.frame(response=rnorm(1200), factorX=rep(... |
I have an experiment that produces a decimal score representing quality, and a bunch (5-30) of variables that each take on one of a set of discrete states.
- The states are not meaningfully contiguous
- the states are just a set of unrelated discrete values ("foo", "bar")
- The set of states is about 10-40 ... |
I simulated a MA(1) process $y_t = \mu + \epsilon_t + \theta \epsilon_{t-1}$ in R and tried to recover the error terms $\epsilon_t$ just by computing them successively (supposing I know the parameters $\mu$ and $\theta$).
# Variables
n = 30
mu = 10
theta = 5
sigma = 3
# Simulation of the MA(1) process
y = rep(1, n)
e... |
I know Lasso eventually set some parameters to zero, acting like variable selection. I also read from paper talking about automated variable selection method like Stepwise AIC can be troublesome. So what are the advantages of using Lasso for variable selection over using the automated procedures like Stepwise AIC?
|
I am measuring accumulation of a fluorescent-tagged protein at a particular location within a cell over time. In previous experiments that I have performed, I see a standard exponential distribution where the fluorescence intensity reaches a plateau, however in my current experiment, I see a distribution as shown below... |
In this PDF, page 5 says:
Given a set of functions $f(x_i,pa(x_i))$ non-negative and sum to 1,
we define a joint probability as follow: $$p(x_1,\dots, x_n)=\prod_i
f(x_i,pa(x_i))$$ [...] what is the relationship between the
conditional probability $p(x_i|pa(x_i))$ and $f(x_i,pa(x_i))$, a
function with has the p... |
Suppose we have iid observation with the following model $ Y_t \sim \mathcal{N}(\mu,1/\mu) , t=1,2,..T$
The question is " Assuming a flat prior on $(0 ,\infty )$ find a 95% HPD interval for $\mu"$
The aditional information that the problem gives is: $T=6; \sum{y_i}^{2}=76;\sum{y_i}=18$
this is my first try,
$p(\mu)=\... |
As far as I know, the variance inflation factor is not computed with pseudo-$R^{2}$ or generalized $R^{2}$ in binary outcome models (e.g. logistic regression).
Are there other measures of multi-colinearity than VIF appropriate to such models?
Why ought or ought not we think about multi-colinearity in such models?
|
R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> bl <- c(140, 138, 150, 148, 135)
> fu <- c(138, 136, 148, 146, 133)
> t.test(fu, bl, alternative = "two.sided", paired = TRUE)
Error in t.test.default(fu, bl, alternative = "two.sided", paired = TRUE) :
data are essentially constant
Then I change just a single charact... |
layman here...
I have some sets of several hundred scores that are not distributed normally. I want to normalize these scores onto a percentile scale.
The mean-median-mode for these look like this:
3-2-0,
1-1-0,
9-3-0,
1-5-5,
I have calculated the variance/std dev and z scores for these, but now I'm not sure what to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.