instruction stringlengths 35 38.7k |
|---|
How do I find the variance of this ARMA(2,1) model?
$$
X_t=0.5X_{t-2} + e_t + e_{t-1}
$$
I know the formula for ARMA(1,1), but when trying to solve I just keep getting an endless path of higher auto-covariances to find.
|
I need to identify the formulas for computing the group differences with Bonferroni corrections and Cohen's d effect size in the following paper (chart on the top of page 6):
Research Paper
What formula was used to do the group comparisons? Also, what were the degrees of freedom?
|
I've been trying to wrap my head around expectation propagation for a while now, but I'm struggling a bit with finding approximate factors in an efficient way and 'fully-factorized' approximations.
I'm currently trying to write my own implementation (to check if I've fully understood everything) which is based on this ... |
For instance, we observed $n$ tossing of a biased coin with probability of heads being $\theta$. How can I calculate this parameter via maximum likelihood? How can I derive the log-likelihood formula and the correct maximum likelihoo estimate of $\theta$?
|
I have a model that attempts to predict a nation's quality of life index by it's moral indifference to contraception and moral rejection of gambling. Initially the model contained several predictors, but I eliminated most using backwards elimination via AIC. Here is a summary of the model (generated using R):
> summary... |
In his book Statistical Learning Theory (1998), Vladimir Vapnik proves an inequality needed to prove a bound on the risk for indicator loss functions. Theorem 4.1
on page 133 he derives the following inequalities
$$I \ge \int_{Z_2} [\nu(\alpha^*,Z_2)-P(\alpha^*)-1/l]dF(Z_2)=P \left[\nu(\alpha^*,Z_2)\ge P(\alpha^*)^{-1... |
I have a linear AR(2) regression model of an time series that looks like this:
$y_{t} = \beta_0 + \beta_1 y_{t-1} + \beta_2 y_{t-2} + \beta_3 x_t + \epsilon_t$
I am modelling the contribution of the time series $\{ y_{t-1}, y_{t-2}, x_t\}$ on tomorrow's $y$, $y_{t}$.
I want to test whether these contributions change o... |
I am trying to find a model for the data below. I cannot decide whether the data is stationary or not. I do not want to take differences unnecessarily . I put results of the models below. I think ARIMA(0,1,3) is best model because AIC is lowest .What do you think?
[1] 3.78937537 2.15208174 -0.89160064 -1.73332645 -... |
I have microarray data in which there are three biological replicates for each of the conditions. I am interested in a numerical estimate of how well the replicates correspond with one another, so I thought I should look at variance. I suppose I could calculate it individually for each probe, but I thought there might ... |
We've got given annual results of two stock companies described with following values:
Company X: expected value $\mu_X=0.05$, standard deviation $\sigma_X=0.02$
Company Y: expected value $\mu_Y=0.07$, standard deviation $\sigma_Y=0.03$
We also know that a cross correlation between results of company X and Y is $\rho=-... |
I am trying to fit an arima model to data below. The best model seems to be ARMA(2,2) with the first AR and MA components zero to me. However, it does not quite satisfy me. I am looking for any ideas to lead me to a better model. Data plot, acf, pacf and fitted model results are below
[1] 3.800731572 1.964861846 -0... |
I have been trying to estimate the MLE for my joint posterior. I'm using R and the package stats4. I have 14 parameters and two of them are $\geq 0$, which I did not know how to implement (and I was creating NaN due to the minus log posterior required in for the mle function) and I just made it return very high value (... |
Face Recognition approach based on entropy
estimate of the nonlinear DCT features proposes to use maximum entropy estimate of the DCT of the pixels. My question is maximizing entropy would mean minimizing information content since entropy is negative to information. So, how come the Authors say that maximum entropy mea... |
Recently I attended a workshop on probability, I was asked the following question but I did not find a way to solve it. A discussion on this question can help to learn something new.
We were told that, We are guests in a game show and close to win a great fortune. The quiz master asks us to choose one of three (closed)... |
I'm struggling with mathematics behind linear regression. In the following lines I pasted the text from the book Pattern Recognition and Machine Learning (p. 46) where author derives the regression function $\mathbb{E}_{t} [t | \mathbf{x}]$. I want to understand the procedure from the equation (2) to the final result. ... |
This is a practice problem for a midterm exam. The problem is an EM algorithm example. I am having trouble with part (f). I list parts (a)-(e) for completion and in case I made a mistake earlier.
Let $X_1,\ldots,X_n$ be independent exponential random variables with rate $\theta$. Unfortunately, the actual $X$ values ar... |
Why does repeated measures ANOVA assume sphericity?
By sphericity I mean the assumption that the variance of all pairwise differences between groups should be the same.
In particular, I don't understand why this should be the assumption and not that the variances of the observed group scores themselves be the same.
|
I am reading up on the Cramér-Chernoff method in concentration inequalities. The idea is to use Markov's inequality and the monotonic transformation $\phi(t) = e^{\lambda t}$ where $\lambda \geq 0$.
Consider a non-negative random variable $Z$ with finite expectation. Then Markov's inequality implies
$$ (1) \qquad \Pr(Z... |
Suppose we have a bunch of a sampled pairs $(x_1,y_1)...(x_n,y_n)$ with the $y_i =\pm1$.
Then consider the decision function $h(x) = -1$ if $p(x)=\frac{1}{1+e^{-x}}\leq0.5$, and $h(x) = 1$ if $p(x) > 0.5$. Where $p$ is interpreted, as per logistic regression, as the probability that $x\rightarrow +1$. Then what is ... |
This is a general question.
I understand the theory behind using multivariate Gaussian distributions, however one question still bugs me and I have not been able to get a "layman's" answer to it.
Given a new data point $X$, and a data set comprising various data points that can be classified into $N$ multivariate Gauss... |
Suppose $X=[X_{1},X_{2}]$ and $X$~$N_2(μ,Σ)$. I wish to find the distribution of $5X_{1}^2+2X_{1}X_{2}+X_{2}^2$. Since this is of a quadratic form I do not know a way of solving this. However I kind of feel like its chi-squared distributed with parameter 2. Any answers will be welcomed. Thanks
|
I do understand the Type $\text {I}$ error and Type $\text {II}$ error. I also do understand that
$\text{level of significance} = \text {P(Type I error)}$. However, how do I explain it to a person (having no statistics background) in very simple language. E.g. I need to make someone understand the meaning of following... |
When we say acceptance rate in a MH algorithm (for examples, suppose it's recommended to have 40% acceptance rate), do we mean overall acceptance rate or we mean acceptance rate after burn in? It's a very simple question but I just realized that I never thought about it.
Thanks very much,
|
In my study, children repeat sentences and I count the errors (DV = error rate). Children are divided into two groups (Group factor), and there are two different types of sentences (Condition factor). I am particularly interested in the Group by Condition interaction, which is theoretically important in my field (devel... |
I am interested in the following model : ($1 \leq i \leq p$, $1 \leq j \leq n_{i}$)
$$y_{i,j} = A (1+a_{i})(t_{i,j}+\gamma_{i}) + \varepsilon_{i,j}$$
where $A \in \mathbb{R}$, $(a_{i})_{1 \leq i \leq p}$ is a $p$-random sample from $\mathcal{N}(0,\sigma_{a}^{2})$ and $(\gamma_{i})_{1 \leq i \leq p}$ is a $p$-random sam... |
I have to calculate the KL divergence between a distribution $q$ and a prior distribution $p$, both of which are univariate Gaussians, i.e. $KL(q|p), q \sim \mathcal{N}(\mu, \sigma^2), p \sim \mathcal{N}(\mu', \sigma'^2)$. This term is part of a larger formula, which is justified in some way not relevant to this questi... |
I wonder if it is possible to write a proportional odds model as some function of binary logistic models.
Indeed I have data on an ordinal response scale (mild, moderate, poor). There are options to dichotomous the data because, we will only need to apply two treatments. But of-course an ordinal model can be use for th... |
I have a question that is a kinda puzzling me and hope that I can find some answers here :).
Suppose I have many signals, let's say four $X_1, X_2, X_3, X_4$
Suppose I have a set of windows $w_1, w_2, \dots , w_n $, in each window each signal follow a Poisson distribution, i.e: $ X_i \sim Poisson(\lambda_i) $.
What I w... |
How can I improve the accuracy of my logistic regression code, which tests the accuracy using the 10-fold cross-validation technique? I have implemented this code using glmfit and glmval. The desired accuracy is somewhat higher and it requires the parameters to be found using maximum likelihood estimator. Also, when I ... |
I have data set that is up-dated every month. I've already trained a neural network on a development sample and validated it. For the building process I used R's nnet package. I also tried neuralnet.
I am happy with the model. However every month I will get an up-dated dataset.
How can I continue to train the existin... |
I was looking at the following example but couldn't get any solution...
Items from a large lot are examined one by one until r items with a
rare manufacturing defect are found . The proportion of items with
this type of defect in the lot is known to be $'p'$. Let $X$ denote the
number of items needed to be exami... |
The content of this question is about rigorously proving something which is otherwise considered easily correct intuitively.
Let's assume we have a multivariate distribution $g(x_1,x_2,...,x_n)$ over the variables $x_{1:n}$. Let's assume that we know how to sample from that distribution, too. We draw samples $x^{1}_{1... |
I recently read the excellent book Probabilistic Programming & Bayesian Methods for Hackers and I'm trying to solve some problems on my own:
I perform an experiment to estimate the reliability of a device (e.g.
CPU, car, fan, etc.) by purchasing 1000 devices and running them over
a 1 yr period to see how many fail... |
On STAT101 your assessment is based on:
Final Exam 50%
Learn based on-line assessment 30%
Assignments 20%
Consider three random variables $X$, $Y$ and $Z$ which respectively represent the exam, on-line assessment total and assignment scores (out of 100%) of a randomly chosen student. Assume that $X$, $Y$ and $Z$ are in... |
To compare multiple groups, one usually runs ANOVA. If ANOVA rejects the null hypothesis, one goes through the multiple comparisons.
The multiple comparisons are necessary to establish which group is different. Multiple comparisons are performed applying Bonferroni correction (or more recent types of correction, such ... |
This question relates to one of my other questions: What can cause a "Error() model is singular error" in aov when fitting a repeated measures ANOVA? .
I have subjects taking an experiment, where I have different Scenarios and each Scenario contains some number of Trials, where subjects can interact with each other bet... |
I have to implement a multivariate analysis on $n$ random variables with a sample of $m$ data points. I would like to get a matrix with the $\beta$ (as in $n$ $\beta$ vectors put together).
Is there an analytical formula for that or do I have to calculate each vector individually and put them back together ?
Also is ... |
Let $X_1,...,X_4$ be independent $N_p(μ,Σ)$ random vectors. Let $V_1,V_2$ be such that
$$V_1=(1/4)X_1-(1/4)X_2+(1/4)X_3-(1/4)X_4 $$
$$V_2=(1/4)X_1+(1/4)X_2-(1/4)X_3-(1/4)X_4 $$
I need to find the marginal distributions of $V_1$ and $V_2$ and the joint density. Since they are linear combinations of random vectors I d... |
We are investigating Bayesian statistical testing, and come across an odd (to me atleast) phenomenon.
Consider the following case: we are interested in measuring which population, A or B, has a higher conversion rate. For a sanity check, we set $p_A = p_B$, that is, the probability of conversion is equal in both group... |
I have an unbalanced data set / data set with missing values, consisting of 20 submersible acoustic receivers that have been range tested on 8 days (Both receiver ID and Day are treated as random effects in my model). My aim is to test the effects of multiple environmental variables on the detection range of these rece... |
I work with a regression with ARMA errors and I want to use LASSO to shrink the coefficients and select my variables. This topic is discussed in the article Wu et al. (2012).
So, the problem I have to minimize is:
$$
L(\xi)=||Y-X\xi||^2+\lambda_1\sum_{i=1}^{d}\frac{|\beta_i|}{|\beta_{i}^{OLS}|}+\lambda_2\sum_{i=1}^{p}\... |
Wherever I read about performance checks of GARCH models people stress the need for out-of-sample testing (e.g. out-of-sample forecast evaluation, out-of-sample refitting and checking for the significance and value of the parameters etc.).
Now I have an application of a GARCH model where the model is only needed to ex... |
Consider a random intercept linear model. This is equivalent to GEE linear regression with an exchangeable working correlation matrix. Suppose the predictors are $x_1, x_2,$ and $x_3$ and the coefficients for these predictors are $\beta_1$, $\beta_2$, and $\beta_3$. What is the interpretation for the coefficients in th... |
Just read a unpublished paper for review purpose. The reported results like
Leave-one-out cross validation sensitivity is 95%. Leave-one-out cross validation specificity is 100%. Leave-one-out cross validation AUC is 1.
Is this possible?
If AUC is 1, does that mean both sensitivity and specificity should be 100%? Just ... |
In both G*Power and the R pwr package, estimated sample size required per group decreases as the number of groups increase. This seems somewhat counter-intuitive.
For a toy example, assume that I have two groups with a meaningful difference in their mean estimates (Group A and Group B). If I add several additional gr... |
I'm dealing with a GARCH-M model that I've estimated using R and EViews. Here are its mean and variance equations.
Mean equation:
$$ y_t=\mu + \rho \sigma^2_t + \varepsilon_t $$
Variance equation:
$$ \sigma^2_t = \omega + \alpha \varepsilon_{t-1}^2 + \beta \sigma^2_{t-1} + T$$
where T is a dummy variable containing 0 a... |
I have panel data on income and population for the years 1990, 1995, 2000 and 2005. I would like to interpolate these two variables (both independent variables), so that I have data for every year between 1990 and 2005. I would like to ask whether linear or quadratic spline interpolation or another method would be most... |
I am maximizing the log-likelihood function for a generalized linear model without using per-written functions like glm due to the form of the model I have. So to maximize the log-likelihood, I am using the optim function. That works fine. But how can I double check if the estimated parameters are actually occurring at... |
The Wikipedia entry on Mahalanobis Distance contains this note:
Another intuitive description of Mahalanobis distance is that it is square root of the negative log likelihood. That is, the exponential of the negative square of the Mahalanobis distance will give you the likelihood of your data point belonging to (a p... |
Let's consider a general signal processing estimation problem where the measurements are modeled as
$${\bf x}[n]={\bf s(\theta)}+{\bf w}[n],$$ where ${\bf w}$ is a non-Gaussian r.v. (noise term) and ${\bf s(\theta)}$ is a deterministic nonlinear signal model. Since the noise is non-Gaussian I am wondering how one could... |
I've been trying to implement Simon Funk's movie recommendation algorithm explained here. I understand how the user and item factors are computed. However the evaluation method is not clearly explained. I checked this post also but there was no evaluation method there.
My Question:
Let's assume we divide the the user-r... |
I have a set of users. A classification algorithm is applied on all users, and I take (call analyzedExperts) a set of users which are binary classified (expert & non-expert).
And I use another method to evaluate this algorithm. That does the same thing, and I take another set of users which are also binary classified (... |
I ran an interval censor survival curve with R, JMP and SAS. They both gave me identical graphs, but the tables differed a bit. This is the table JMP gave me.
Start Time End Time Survival Failure SurvStdErr
. 14.0000 1.0000 0.0000 0.0000
16.0000 21.0000 0.5000 0.5000 0.2... |
I'm trying to understand whether it is possible to fit a threshold AR model with a GARCH effect using R. So far, I only found the functions garchFit (which also allows to "merge" ARIMA and GARCH models) and tar. In my book (by Tsay) I found the code to fit such models on RATS, but I'm asked to use R. If that is impossi... |
I have a doubt: consider the real valued random variables $X$ and $Z$ both defined on the probability space $(\Omega, \mathcal{F},\mathbb{P})$.
Let $Y:= g(X,Z)$, where $g(\cdot)$ is a real-valued function. Since $Y$ is a function of random variables it is a random variable.
Let $x:=X(\omega)$ i.e. a realisation of $X... |
I’d like to illustrate my problem with a little (heavily abbreviated) excercise. I think it will help a lot to stress my point.
Meet Mary, Tom
and Jane. They all are programmers. Mary is a decent programmer. In
writing five programs she usually makes about 3 mistakes. Tom on the other
hand is quite bad. He makes about... |
I'm watching a video on the EM algorithm,
When we use Bayes' Theorem to calculate $b_i$, how do I find $P(b)$ and $P(a)$ initially? It says we can estimate the priors $P(b)$ and $P(a)$ but that's once we have at least one value $b_i$. Should I simply let $P(b)$ and $P(a)$ be 1 to begin with?
Also, why does it say we c... |
Let's say $x$ is correlated to both $y_1$, and $y_2$. Why are the residuals of the nested regression of $x$ against $y_1$ and $y_2$, not equal to the residuals of the simultaneous (multiple) regression of $x$ against $y_1$ and $y_2$? To clarify:
I take the residuals of the regression of $x$ against $y_1$ to get residua... |
I am comparing two temperature control devices both designed to maintain body temperature at exactly 37 degrees in anaesthetised patients. The devices were fitted to 500 patients forming two groups. Group A (400 patients) - Device 1, Group B (100 patients)- Device 2. Each patient had their temperature measured once eve... |
Given $CH(k) = [B(k) / W(k) ] \times [(n-k)/(k-1)]$, where
$n$ = # data points
$k$ = # clusters
$W(k)$ = within cluster variation
$B(k)$ = between cluster variation.
It is my understanding that the CH index can show the optimal number of clusters when doing k-means or hierarchical clustering; you would choose the numbe... |
Am currently using Naive Bayes for a multi labelled text document classification problem.
But I would like to know the differences (advantages and disadvantages) of using SkiLearn Naive Bayes or NLTK?
SkiLearn seems to have flexibility in parameter setting more than NLTK, but I'm think my thoughts on this being the onl... |
I am studying the factors influencing the annual salary for employees at a undisclosed bank. The regression model that I have decided to employ is as follows:
\begin{equation}
Y_{k}=\beta_{1}+\beta_{2}E_{k}+\beta_{3}D_{gk}+\beta_{4}D_{mk}+\beta_{5}D_{2k}+\beta_{6}D_{3k}+\varepsilon_{k}
\end{equation}
where $Y_{k}$ is t... |
I have several markets across the US where a marketing program was launched, and I want to compare the mean weekly unit sales before and after the launch. I'm using the 10-weeks prior to launch as my baseline and the 10 weeks post-launch as my result. Now at the end I will use a paired t-test to compare the change rel... |
hi i was looking for a sophisticated web based interface of R which can be used for couple of analytics application? any suggestion please..rweb is quite simple
|
How does one plot the set S of parameter region of equations using r?. My problem is that I have one equation with 2 variables defined by $g(x,a,b) = 0$ and I want to plot the set of $(a,b)$ where the solution exists.
The specific example I am interested in is the following:
$$(F(x) - a)f^2(x) + \left(\frac{F^2(x)}{2} ... |
My analysis involved some behavioral data on swine. One measure we had was standing time (min) for pigs using accelerometers. Using SAS, I checked for normality, and results showed data to be non-normal (Shapiro–Wilk < 0.05). I then performed residual analysis, which again showed non-normal data. Skewness was -0.42. Th... |
Suppose I have a sample with two covariates whose levels are associated with some response; e.g., the mean height of a plant at 6 months is modeled by two factors: cultivar of plant (say, $A$ versus $B$) and size of pot (e.g., "small" versus "large"). Furthermore, suppose that the truth is that cultivar $A$ in genera... |
I'm working with land surface models. These models basically take a bunch of meteorological forcing data (downward radiation, wind, rain, humidity, etc), and run it through some biogeochemical/physical equations, and spit out a bunch of output data ($CO_2$ update/release, net radiation, evaporation, runoff, etc.). Ther... |
From my understanding for a random variable $X \sim Binom (n,p)$, $E(X)=n \times p$, correct?
I was looking at an example problem:
Every pair of the $n$ people is friends with probability $p$. What is $E(X)$? $X$= number of friendships.
$X\sim Binom (\binom{n}{2}, p)$ and $E(X)=\binom{n}{2}p$.
This makes perfect sense... |
I have fitted my stress-strain data with $y=ax^3+bx^2+cx+d$ and also added tangent lines as shown in figure below. I am interested to see the deviation of the fit from the linearity. I am not aware of any theory that can be used to find the tangent point (the point of deviation of the fit from the linearity). Hence, ba... |
We are using Tingely et al's mediation R package for mediation analysis. Our study is a 2x2 design, say A (0 and 1) and B (0 and 1), with dichotomous mediator M and continuous dependent measure Y. Our model is
Y = a + b1* A + b2* B + b3* A*B + cX = u
where a, b's,and c are coefficient, u error term.
We found that
(1) ... |
At this website it is stated that "If compound symmetry is met then sphericity is also met."
Is it impossible to construct a data set that has perfect compound symmetry but not perfect sphericity? Why/why not? It's not intuitively obvious to me because at face value compound symmetry (variances across conditions approx... |
I am comparing two different populations (with different sizes) of models, for each individual I have a score. I'd like to compare not only the difference of the two means but the maximum value. I've learnt in the past to perform significance test when comparing averages between groups but this is the first time that I... |
I got determinant value– 5.84E-007. What does it mean? Should I continue the work or not? What do I have to do?
And also I obtain the following Kaiser-Meyer-Olkin value and Bartlett's Test results
Kaiser-Meyer-Olkin Measure of Sampling Adequacy. .793
Bartlett's Test of Sphericity Approx. Chi-Square 3.452E3
... |
I am applying Polynomial Regression to my data, however the parameters theta were always =0,
i noticed that my y data or output is too large in the order of 100000 so i normalized y, i got very good predictions.
However what can i do if i need to get the predictions based on the real y values, meaning how can i denorma... |
What is the difference between a class of distributions and a family of distributions?
The class of (a,b,0) distributions is defined as:
The Binomial, Poisson, Geometric and Negative Binomial meet these criteria.
The exponential family is defined as
Is the classifier "class" reserved for those distributions that sa... |
Let's say I have a randomly generated sequence consisting of letters A, C, T and G that's 1000 letters long. The probability of each letter occurring is 25%. What is the probability that the sequence 'AAAAA' will occur N times within the 1000-letter sequence?
The problem I have solving this is that the trials are depen... |
I do not understand why the following equality holds (taken from Cameron & Trivedi 2005: Microeconomtrics):
$\hat{\underline{\beta}}_{OLS}=(\textbf{X}'\textbf{X})^{-1}\textbf{X}'\textbf{y}=(\sum_{i=1}^{n}\textbf{x}_i\textbf{x}_{i}^{'})^{-1}\sum_{i=1}^{n}\textbf{x}_iy_i$
The notation is
$ \textbf{x}_{i}^{'} =(x_{i1},...... |
I have a question regarding the definiton of estimators. In the german wikipedia it says that the distribution is determined by g($X_1,...,X_n$) where by g is the estimator function and $X_1,..X_n$ are the observed random variables, and g is evaluated for all possible samples.
Now my question is if the distribution of... |
I think my question is similar to this one:
How do you plot an interaction between a factor and a continous covariate?
My IV and DV are both scales, and my interaction term has 3 levels. I am trying to look for associations between my IV and DV so I need to be using correlation coefficients rather than means... I think... |
This is my first question, please should I write something wrong correct me.
I have a question when comparing two GLMs after applying stepwise selection. What I've always heard is that stepwise selection is not robust enough for the selected variables. Therefore, I use ANOVA to compare the most parsimonious model (low... |
I have run a multiple linear regression with 4 IVs. Three of the IVs are constructs and the fourth is gender. All IVs have statistically significant correlations with the DV. All three construct IVs have partial correlation coefficients that are negative. The gender "being female" has a positive correlation coefficient... |
I am running a stepwise binary logit regression in Stata using 14 independent variables. Two of the independent variables are dummies (assuming a value of 0 or 1). I've tested the independent variables for multicollinearity and adapted them by standardizing or using the natural logarithm of their values in order to mit... |
Is it possible to have multiple (at least 3) dependent variables in a single classification model. I know this can be accomplished in a regression model but I need to perform this with a classification model.
My three DVs are correlated so I do not want to simply write three seperate classification models. Does anyone... |
I am having trouble understanding the estimation of an AR process. In some textbooks, the AR(1) process is defined as follows: $y_{t}=\theta y_{t-1}+ϵ_t$ (which does not contain a constant). So the OLS estimator is biased. I am confused about the cause of the bias. It is explained that $y_{t-1}$ is dependent on $ϵ_{t-1... |
I have an rather open question. In Bayesian statistics you do testing based on some posterior distribution $p(\theta|D)$. E.g. you could try something like $T=P[\theta>0|D]$ and decide based on the threshold $.5$.
$T$ is basically some statistics of the data observed - and as such has a sampling distribution. Could I n... |
I was wondering how can I determine joint and marginal distribution in R. I believe I should use the function sample and for my exercise also replace=F and also for with iterations.
I was in hospital and I missed some classes in Probability, so I would be really grateful if someone could help me!
|
I'm reading a paper where the authors are leading from a discussion of maximum likelihood estimation to Bayes' Theorem, ostensibly as an introduction for beginners.
As a likelihood example, they start with a binomial distribution:
$$p(x|n,\theta) = \binom{n}{x}\theta^x(1-\theta)^{n-x}$$
and then log both sides
$$\ell(\... |
I found an approach to calculate a selection correction variable for a Cox regression (Lee 1983. Generalized econometric models with selectivity. Econometrica 51: 507–512.):
$$
λ = \phi \frac{ \phi^{-1} (F_i(t)) }{1 - (F_i(t))}
$$
where $F_i(t)$ is the cumulative hazard function for object $i$ at time $t$, $\phi$ i... |
As I say in the subject, How can I put the model
$d x_t = \eta\, (\overline{x} - x_t)\,d t + \sigma\, x_t\,d W_t$ into state space form? I mean, which are the observation and transition matrices?
|
I am doing a case-control study with 80 disease cases matched 1:3 to non-diseased controls and examining whether they had a binary exposure prior to developing the disease. I am using multivariable conditional logistic regression for the main analysis. My question is, for the "descriptive" or "univariate" table where w... |
I would like to know how do we analyze or regard the Neutral response (such as Don't Know) in a questionnaire using the following Likert Scale:
1:Strongly Disagree 2:Disagree 3:Don't Know 4:Agree 5: Strongly Agreee
|
Alright so i have found this really good answer on how to normalize my data.
I implemented @user25658 's code into my own project successfully, trained a linear model and used it to make a prediction.
Say y = 0.4513869 is the predicted normalized value which i would like to de-normalize.
Based on the normalization co... |
I have a series of daily temperatures and have fitted a model using the function dlmModTrig of the package dlm in R which uses trigonometric functions which is ok. However I would like to try the other alternative which is the function dlmModSeas which uses s - 1 parameters for s seasons in a year.
My question is, sinc... |
I’m trying to find the cumulative probability of 2 independent events (at least I think its cumulative probability).
I will miss work on rainy days (event 1) where my car won’t start (event 2).
The probability that my car won’t start on any given day is 20%.
The probability of rain on any given day in a month is 10 i... |
I want to test heteroskedasticity in a Tobit model with Stata 12. But I don't know how to do that.
When I used an OLS model, I tested heteroskedasticity and autocorrelation, and didn't find much, but the OLS model isn't significant (Prob > F = 0.54) and R² is small = 0.01. How can I improve that problem? Thanks.
|
I am currently writing my thesis using multiple regression.
However my data does not meet the regression assumption of normal distribution.
I want to describe that, due to the non normal distribution, the interpretation of the data is limited. I don't want to transform the data, i just want to say what the impact of th... |
From a larger sample of tabular data, I have picked certain rows that meet a certain condition (this condition is unrelated to the actual data in the rows).
Now, I want to know if the distribution of this subset that I have created is similar to the distribution of the original, larger sample.
What test(s) can I use f... |
I have a classification problem with 2 classes. I have nearly 5000 samples, each of which is represented as vector with 570 features. The positive class samples are nearly 600. Meaning, I have a 1:8 ratio of positive and negative samples in the dataset. This imbalance in the dataset is mitigated using SMOTE. Subsequent... |
Has two one-sided tests for equivalence (TOST) been framed for the Kolmogorov–Smirnov test to test the negativist null hypothesis that two distributions differ by at least some researcher-specified level?
If not TOST, then some other form of equivalence test?
Nick Stauner wisely points out that (I should already know ;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.