instruction stringlengths 9 38.7k |
|---|
What to plot in order to pre-analyze the data before building a logistic model?
In linear models I was able to do a scatter plot of just the response values and see, whether they're distributed "reasonably".
However, in logistic models the response is a binary variable and thus produces a kind of difficult to interpret... |
I am trying to predict the impact of readmission events (continuous) and type of readmission (medical, surgical, other) on total hospital costs. Because costs are skewed by nature, I am using a Gamma distribution with a log link function. Below is the model:
PROC GENMOD data = abc;
class type (ref='medical') gender... |
I have a model that I've used MSE as the accuracy metric. After reading this article on calculating prediction intervals using MSE I looked around for other resources.
I then found this PDF from Wharton that suggests y_hat +/- 2 * RMSE forms a prediction interval for y. However it doesn't tell me what percent predictio... |
Have some confusion on Gaussian mixture distribution model (reference is from the book of Pattern Recognition and Machine Learning). My confusion is how below formula works?
$\sum_kz_k=1$
My thought is, $z_1$ could be $0$ or $1$, $z_2$ could be $0$ or $1$, ... $z_K$ could be $0$ or $1$, how could sum of them (them I me... |
I am trying to implement a simple system for trust prediction in social networks. I wonder (since "my system" only performs trust prediction of one user towards another user) if it is common to use that kind of system to predict trust of a user towards some kind of different object of social service.
So, for example, ... |
Situation
I have a data-set (15-20k) with two classes. I can train a classifier on both classes, but am only allowed to test/predict on one class. The data-set is not balanced (~1:4).
Goal
I want to find out, how much the classifier was able to learn from the data-set and am therefore i am interested in the predicted p... |
A great newbie in statistics, I am. Begging for your help, I am.
So, I have two samples. The first one contains 19 mean preference scores (based on a series of twelve 0s and 1s) and the second one contains 20 mean preference scores. Clearly, they do not follow a normal distribution and that is why I read that I should ... |
I am trying to understand the benefits of joint models for longitudinal and survival data.
As far as I understand it the primary intention is to make the survival analysis more precise by allowing measurement errors in the longitudinal process.
My primary focus, however, is the longitudinal process.
If I am interested... |
In school, I was taught about the normal approximation to the binomial, and it was suggested that I could use it effectively under some conditions, because it can be 'easier to calculate'.
I understand how this could be more convenient if I were using paper tables. Are there still advantages to using the normal approx... |
I am looking for papers that establish a linear regression fit through modeling regression errors as a Gaussian process . Any good literature ?
|
What is the difference between manifold learning and non-linear dimensionality reduction?
I have seen these two terms being used interchangeably. For example:
http://www.cs.cornell.edu/~kilian/research/manifold/manifold.html :
Manifold Learning (often also referred to as non-linear dimensionality reduction) pursuits ... |
I am doing weighted linear regression. I decided to weight my data points on the number of genes per chromosome per species. The graph I made on the basis of that wasn't much different than the unweighted linear regression. However, when I took the square root of the number of genes per chromosome per species and use t... |
I want to understand what the formal justification is for relating the response variable to new values of explanatory variables in linear regression. I see linear regression models defined as $Y=X\beta +\epsilon$, where $Y$ is a random vector, $X$ is a given matrix of constants, $\beta$ is a vector of unobservable fixe... |
Let's take a sport like Hockey, and say we have "Team A" playing "Team B". Assume that I have information on all the scoring opportunities that each team has had, and somehow I also know the probability for each of them ending up as a goal. For example, I can assign each opportunity a score between 0 and 1, with 1 mean... |
How to prove this
$\text{E}( g(X) \mid X) = g(X)$
|
I used the function auto.arima() to a monthly data but I obtained "ARIMA(0,1,0)".
any explanation of this result ?
|
I was wondering if it would be possible to plot the figure below in R (colors don't matter)?:
|
I was reading this paper here: http://mlg.eng.cam.ac.uk/zoubin/papers/05occam/occam.pdf
To me it seems there is a mistake, and I would like a clarification if anyone knows. It states towards the end "The model simply defines a single distribution over data sets, assigning them all probability 1/152." I think the fracti... |
My model has 3 independent parameters $\{\rho, \alpha, \beta\}$ (polar coordinates), and a set of observables $\{Q_i\}$ and $\{T_{ij}\}$ where $i=1,2,...,642$ and $j=1,2,...,Q_i$ (if $Q_i=0$, there is no $T_{ij}$).
From $\{\rho, \alpha, \beta\}$, a set of intermediate (spherical harmonic) coefficients $q^m_l(\rho, \alp... |
I'm attempting to complete an assignment for a class and reading the book isn't particularly helpful as it's extremely wordy and unclear. I'm mainly confused on exactly what the x and y values are supposed to be within a P-P plot. The problem I'm given is as follows:
If the following data are hypothesized to be draw... |
Suppose that I have three different time-series for per capita GDPs of countries. Let $X^j_{it}$ denote the GDP estimate of country $i$ in year $t$, made by organization $j \in {1,2,3}$ (so there are three organizations that publish estimates every year).
The estimates don't always agree with each other and for some c... |
I am a beginner to Deep Learning and have read some tutorials. Now I want to try something like LeNet on my own data, but I do not know how I should prepare it as a suitable training input for LeNet. Currently, all of the images in my dataset have been stored in a folder and I have an excel file that contains the infor... |
I am reading about regularization in machine learning model. I want to understand how mathematically the L2 term penalizes the high-value weights to avoid overfitting? Any explanation?
|
The input of LSA is a term frequency matrix of a set of documents. What's the output? If I want to cluster a bunch of news into different clusters, can I use LSA? If not, what's the major uses of LSA?
Is it similar to K-means?
|
I have a correlated normal data
y <- -1 + 3*x1- 2*x2 + e
where, e is generated from multivariate normal distribution and thus correlated.
To get a correlated binary data I followed these steps
scale to get a marginally standard Normal distribution.
transform by their cumulative distribution function
to get a uniform... |
My question is about removing non-significant predictors from a 'full' model to then evaluate a reduced model.
For clarification, I'm aware that this question has been asked before, but it has often been in the framework of model selection, and being concerned with finding an 'optimal' model. I'm more interested in re... |
Suppose, I have a data set with eight features in my hand.
I have juxtaposed their means and medians row by row.
f1 f2 f3 f4 f5 f6 f7 f8
mean 2.5000 0.1868 0.0148 0.2105 0.2088 79.6583 1.0604 0.0091
median 2.5000 0.1826 0.0001... |
I'm working on a long-term, large tree data set from Africa. I have data on the same set of individuals from year 2006, 2008, 2011 and 2015. The data consist of tree status (alive/dead) at each time period and covariates such as elephant damage (type and proportion) and fire damage (type and proportion), rainfall, spec... |
Suppose, I have a data set with eight features in my hand. I want to find features to predict the diamonds, hearts, clubs, spades.
------------------------------------------------------------------------------
| f1 | f2 | f3 | f4 | f5 | f6 | f7 | f8
+--------+--------+---------+------... |
I am reading the normalizing flow paper and am a bit confused.
It seems that being able to model complex (correlated?) posterior is one of the advantages of the proposed approach (Section 2.3, last paragraph). But for a deep latent Gaussian model with diagonal covariance, i.e. $$z^{(1)}\sim N(\mu^{(1)}(x),\mathrm{diag... |
I have sample data from a population - I need to estimate the 90th, 50th, 30th percentiles - so that I can compare these values to estimates from another population and see if there is a significant difference.
I did not want to make any assumptions about the distribution type so I first went along with a non-parametri... |
I have a dataframe in the following form:
|Regions | F1 | F2 | F3 | ... | Fn |
|Region_1| X11| X12| X13| ... | X1n|
|Region_2| X21| X22| X23| ... | X2n|
...
|Region_k| Xk1| Xk2| Xk3| ... | Xkn|
Where every row represents an Italian region and every column is a feature that the individuals living in that region have. ... |
I have two data which are clearly related (according to Spearman and Kendall test); I would like to fit a copula using R but so far i wasn't able to find the best one.
I tried all the evCopula and the Archimedean ones but the Goodness of fit test tell me they don't work.
Could you advice me what else should I try ac... |
I want to programmatically draw a discrete random sample from a log-normal distribution. In order to do so, I calculate a $x$-value from uniform random source, e.g. some pseudo random number generator. This I use as input to the log-normal $PDF$ for a random variable $X \sim \ln\mathcal{N}(\mu, \sigma)$ with some param... |
I have just read a paper in which the authors performed a meta-analysis to extract correlation coefficients (specifically between five personality variables and emotional intelligence). They then used confirmatory factor analysis to test if all the variables involved formed a higher-order factor (specifically a general... |
I really dont know how to calculate. All i want is to determine if there is significant difference on the data that i studied. Here are the figures:
Total population: 204
Total # of positive with UTI: 76
Table 1 Prevalence of UTI in relation to age
Age Number Sampled Number Positive(%)
15-20 ... |
I need to maximize wrt x and minimize wrt $\boldsymbol{\alpha}$ the ratio (I will call it f) between the density of a standard normal and a double exponential distribution. So my goal is to find $\boldsymbol{\alpha}$
I write the function:
$ f(x) = \frac{exp(-x^2/2)/\sqrt{2*pi}}{(\alpha/2)*exp(-\alpha * |x|)} $
By taki... |
Even though the title suggests just a simple question, it's a two-part.
First, can a repeated seasonal differencing filter also remove a polynomial trend? In which conditions? I would guess only when the degree of the trend is a multiple of the lag used in the filter.
Second, are both the seasonal differencing and the... |
I have a set of data that I am currently analysing.
I am having difficulty in deciding whether an Additive model should be used to forecast the data, or if I should use a Multiplicative model.
I know the difference between the two, and I can apply the correct model when the raw data is linear...but in this case, my dat... |
It is said that a feature function can represent anything, the first or the last word of a sentence, a capital character and etc. But how exactly can I represent them in such a form: $F_j(x, y)$ or $\sum_i f_j(y_{i-1}, y_i, \bar x, i)$ as explained in this tutorial? Could anyone please help instantiate one in mathemati... |
I'm trying to see if variables x and y together or separately significantly affect Q_7 (the histogram for which is above). I've run a Shapiro-Wilk normality test and got the following
shapiro.test(Q_7)
## data: Q_7
## W = 0.68439, p-value < 2.2e-16
With this distribution, will the following regression work? Or is th... |
I have a time series of data, which usually is pretty stable (but with noise). Sometimes, it starts to drift linearly. It could also reset back to the stable position and continue the same drift.
Is there an algorithm that can detect these periods of drifts? My naive method would be:
Try to find an period of more than... |
I am trying to build a dataset with data obtained from scraping media articles and their respective comments. The comments are usually short with an average of around 13 words per comment. I have constructed an R data frame to accomodate Alchemy API results such as concepts, taxonomy, keywords, emotions and sentiment a... |
I have two independent experiments
In experiment 1, I perform n1 trials, and I have s1 successes.
In experiment 2, I perform n2 trials, and I have s2 successes.
How do I find out (without conducting more trials) whether it's significantly more likely that a trial in experiment 1 succeeds than that a trial in experiment... |
Suppose I want to measure the effect of a treatment in a group of schools (my population). I randomly select a sample of schools and two classes for each school (one treatment and one control). Would it be a problem if I take as outcome the score of a particular exam (for example math)? Suppose exams are identical for ... |
I am looking for a dataset to study and teach Fisher's exact test. In particular, I would be interested in a simple data set that contains:
("truly") experimental data
a few additional variables that might be used to improve the estimate.
Is there anything publicly available you could think of?
I am looking for s... |
I'm new to statistics and I started studying it by myself so I'd like to receive and advice about a reasoning related to a flat region in a transformation.
For the transformation given by ('X' is a random variable while 'x' is an outcome)
\begin{equation}
Y = \left\{ \begin{array}{llll}
X-a\text{,}& x \gt a\\
0\t... |
I'm having difficulty finding a definitive way to determine whether I can use a percentage measure as an independent variable in multiple linear regression or not.
From my understanding, the percentage can't be considered a true continuous measure for some reason and violates some assumptions of the regression model.
E... |
I have an unbalanced 2 by 3 between-subjects ANOVA that I am doing as a regression. I'm using Helmert coefficients to code A and B, and the products of these to code the AB interaction. Because the design is not balanced the five coefficient vectors are not orthogonal.
When I compute in separate regressions the sum of ... |
I have just finalised the analysis of a dataset fitting Generalised additive mixed models (GAMMs) with mgcv package in R v3.3.0. But I am having trouble in writing my models into their correct mathematical notations.
I am not an expert in this filed but despite that, I have “understood” how this model works and how to ... |
If $T_n$ is consistent for $T$ and $U_n$ consistent for $U$, is $T_n + U_n$ consistent for $T+U$?
Secondly, is $T_n/U_n$ consistent for $T/U$?
I am looking for a reference for these facts, if they are true.
|
I have some data: outcome is satisfaction and there are four predictors, three continuous (age, weight, height) and one factor, graduated high school or not.
In R, I have uploaded the data set, and set $X1$ for age, $X2$ for weight , $X3$ for the factor and $X4$ for height.
I want to know if there is evidence that grad... |
1. My purpose
I am trying to build a model with multiple inputs and multiple outputs, which is something like this:
I am not sure if I need to firstly integrate the xi into X, and yi into Y so as to make the model easier like this:
2. Features of the training data
There are several features for the training data:
Th... |
I am running a pooled OLS regression for my thesis. My adjusted R square is 0.74, which is quite high compared to other published studies. I have checked for normality of residuals, serial correlation and homoscedasticity. All the 3 tests meet the conditions for OLS. Should I be concerned about the high adjusted r squa... |
How to interpret OR (odds ratio) decimals? Are they percentages?
OR with probabilities $p_1,p_2$ for two events is
$$\frac{\frac{p_1}{1-p_1}}{\frac{p_2}{1-p_2}}$$
Like if one gets an OR of, say, $2.25$, then does this mean that the nominator event is 225% more likely than the denominator event? What does "odds" mean?
|
I am trying to implement an algorithm that solves a linear regression problem with the following objective function (LASSO):
$$\min_\beta \frac{1}{2}||y-X\beta||_2^2 + \lambda ||\beta||_1$$
for various values of $\lambda$ under several constraints which are added or change from time to time. $y$ and $X$ are my trainin... |
Is it appropriate to use the mean and standard deviation when analyzing likert-scale data. I can't seem to get a solid answer to this question.
|
We know from several population studies that the mean concentration of protein in the blood of healthy people is 2.5. We are given a data set (of patients) of $n=10$ and we obtain the mean=3.1 and standard deviation=1.1.
I want to use a t-test to test if the concentration of the protein in the given data set is signifi... |
Quick question -
I have built an LSTM RNN model for some data I am trying to forecast.
I've noticed that if I feed my model the same data (after training in order to get a forecast) over and over it generates a different prediction each time. In my head, it SEEMS reasonable that this would happen - I'm not training the... |
I have a dataset comprised of proportions that measure "activity level" of individual tadpoles, therefore making the values bound between 0 and 1. This data was collected by counting the number of times the individual moved within a certain time interval (1 for movement, 0 for no movement), and then averaged to create ... |
I remember that I heard something like this, that for a certain sample size one should not give more than $n$ decimal places for location and dispersion parameters e.g. for small samples sizes only one decimal place, for larger ones two or even more.
But I can absolutely find no information on this topic. There is this... |
I have been told to randomize my training set.
Why is it not a great idea to train a classifier by giving it first all the example of class1, then class2, class3 and so on?
|
I'm having $(X_1,...,X_N)$ and $(Y_1,...,Y_M)$. $X$ and $Y$ are supposed to have normal distribution. How can I check statisticaly if $X_n$ in most cases is greater then $Y_n$. What criterion should I use? What criterion could be used if distribution is not normal?
|
Cohens kappa can be used as a measure of interrater agreement. However, sometimes the theoretical maximum of kappa < 1 and it may be more correct to calculate kappa as the proportion of the maximum value of kappa.
I need a good calculation example for a 2x2 matrix of how to calculate the maximum value of kappa.
It can ... |
I have two datasets of binary time series data and I would like to prove that these two datasets are similar.
The datasets are coming form binary sensors installed in a smart home and they reflect the interactions of a person living there. The two datasets are coming from the same smart house and have the same configur... |
I'm trying to find more information about this equation:
$\chi^2=\sum_{k=1}^N\big(\frac{f(x_k)-y_k}{\sigma_k}\big)^2$ for datapoints $(x_k, y_k, \sigma_k)$ and $\sigma_k$ is the uncertainty on $y_k$. I have been told this is a chi-square goodness of fit test for a fit $f(x)$. From this, I want to calculate a reduced ch... |
Suppose, we use least-squares regression and obtain a coefficient. Suppose, we know that the coefficient can never be negative.
Then instead of testing the relationship:
$$\mathrm{H}_0 : \beta_1 = 0$$
$$\mathrm{H}_a : \beta_1 \ne 0$$
we can test:
$$\mathrm{H}_0 : \beta_1 = 0$$
$$\mathrm{H}_a : \beta_1 > 0$$
For example... |
From what I'm reading, it seems that the best predictor, in the sense of minimizing $E(|X_{n+1}-l|^2)$ where $l$ is an $\mathcal{U}_0$-measurable function, is the projection of $X_{n+1}$ on $\mathcal{U}_0$. And this best predictor is always the conditional expectation $E(X_{n+1}|\mathcal{U}_0)$.
How can we tell that ... |
I can not find any documentation on the type="bca" for the R command confint used to find confidence intervals. I am using this function to find the confidence interval of a bootstrap model. I know there are normal CI, percentile, and pivotal. Does the bca correspond to pivotal or something else?
|
This is for a homework question in which I am trying to find the $E(Y_n = min\{X_1,...,X_n\}$).
So far I have found that the minimum cdf, as below.
The minimum of $X_i$ is when all of $X_i > x$.
$Pr(Y_n \leq y) = Pr(X_i > x) = \prod_{i=1}^{n} Pr(X_i \leq 1-x) = F_X(1- x)^n $
Then I found the pdf like so:
$$
F_Y(y) = Pr... |
While studying xts time series in R I have come across the to.period() function that converts an OHLC or univariate object to a specified periodicity lower than the given data object.
I'm trying to understand how it aggregates the values to new values in the lower periodicity, I believed it to be the mean but that does... |
I've analyzed a data set from a credit card company before and it has the famous "unbalanced classes" problem like all the other credit card companies, i.e., in the data set (the information of users who have been issued the credit card), there are very small fraction of data are default (less than 5%) and the majority... |
Through R and based on a microarray gene expression dataset (60 samples in total-30 cancer and 30 control samples) and R package caret, i have performed a feature selection regarding a binary categorical outcome (Disease status). My final selected subset, is comprised of both gene features as also clinical continuous v... |
I have a test set of shape (1100, 273). I impute literally 3 values that are more than 20 standard deviations away from the mean with their column means and I get from accuracy (r sqrd) of 0.286 to -6.59983, and from log MSE of 0.144 to 1.479. And from all positive predictions to positive and negative predictions. Can ... |
I have an opportunity to attend SAS course and get certification, while getting my formal education. Is SAS relevant software for modern machine learning?
I'm a former software engineer, so I'm fluent in Python/R, Scikit-learn, Theano/Lasagne, whilst have no real experience, but sure will be able to run Hadoop/Spark/Me... |
Given a plot of N against P, I'm trying to find out what is the value of P, when N is 386 in R?
My data is obtained using this code in R:
N <- seq(from=100,to=2000,by=1)
P <- choose(N-100, 50) / choose(N, 60)
## Normalization of Ps:
sum(P)
P <- P / sum(P)
## Plot it:
plot(N, P, type = "l",las=1)
I'm using the followin... |
Multitask learning (ML) is a branch of transfer learning typically used in the machine learning society. In ML people utilize the similarities between units to improve accuracy of prediction etc...
The units are typically Independent, ex: car batteries, we believe that batteries from different cars might behave differ... |
Around the internet, I have seen scattered references to the idea of rescaling an objective function and using that as a PDF for the purpose of optimization. (On this site for example: Do optimization techniques map to sampling techniques?) Can someone point me to a place where I can learn more about this method? (Pape... |
I performed a correlation analysis using Spearman's correlation coefficient and found 4 factors say A,B,C,D are significant. I used regression analysis also and found that 3 factors B,C,D are significant. On multiple regression, I found 2 factors B,C are significant. Now my question is that how can I interpret my resul... |
After deducting by the images mean and standard deviation, most of the differences between wildly different pixel values of images should be very small. I understand this is to prevent certain image colours (e.g. background colours that are very dark) to sway the representation of an image.
However, would this also mea... |
Here's the scenario: I'm estimating the effect of a treatment on a count outcome. I'm using covariate balancing propensity scores with weighting by the odds to balance my treated and control group, then using a weighted negative binomial regression of my outcome on treatment to estimate the treatment effect (ATT). On t... |
Two points L and M belongs to the interval [0, 1] are chosen at
random. Thus, the interval is divided into 3 smaller sections.
What is the probability that the distance from L to 0 is smaller than
the distance from M to 0?
My attempted solution.
The condition stands if we have,
$0L < 0M$
$\Rightarrow M-L > 0$
$\Right... |
Suppose I have a MCMC involving a 2 step Gibbs sampler. The first part uses metropolis hastings to find the next parameter value. If during one sweep, the result for the first part is a rejections, should the process immediately try the first step again until acceptance or simply move down to the second step in the swe... |
My question flows out of this comment on an Andrew Gelman's blog post in which he advocates the use of 50% confidence intervals instead of 95% confidence intervals, although not on the grounds that they are more robustly estimated:
I prefer 50% to 95% intervals for 3 reasons:
Computational stability,
More intuitive ... |
Problem
Two points L and M belongs to the interval [0, 1] are chosen at
random. Thus, the interval is divided into 3 smaller sections.
What is the probability that the center of the interval LM belongs to
[0, 1/3]?
Attempted Solution
Why is this not correct,
$\Rightarrow 0< \frac{M-L}{2}<\frac{1}{3} $
But, the fo... |
I have data on the entirety of a certian population (not a sample).
I would like to conduct a multivariate analysis for this data. The data consists of an interval dependent variable and interval and binary explanatory variables.
many colleagues of mine suggested to analyze this with regression model.
Given that the an... |
I have a two steps model that works as follows:
-first predict the values of a series A with some other explanatory variables X using a linear regression. This gives me a confidence interval on the expected values of A
-second, use the forecast values of A to predict another series B through another linear regression.... |
Crowdsourcing is a relatively new kind of experimental design which is getting more and more popular for example in natural language processing (NLP). I know about classical research methods but crowdsourcing seems to be different from, say, a usual survey in a number of ways.
So, is there some general reference on how... |
I am learning reinforcement learning from David Silver's open course and Richard Sutton's book. While I enjoy the course and the book much, I am currently confused in $\epsilon$-greedy policy improvement.
Both the book and the open course have a theorem saying that
For any $\epsilon$-greedy policy $\pi$, the $\epsilon... |
Let $X$ be a random variable, and let $f$ be a concave function.
Are there any known lower bounds for (or methods of lower bounding) $\mathbb{E}[f(X)]$?
Jensen's inequality only gives an upper bound on the above.
|
I draw this circle of correlation and I want to know the significance of variables that i circled in green
i concluded that variables ig2h are correlated of individuals (1)(the blues ones) and c2 are correlated with individuals(0) (the red ones)
but i can not conclude anything for a3,a2, ...
what is their relation with... |
I was going through the wiki article of this algorithm. I got a hang of it by understanding what is happening in case of Mixture of Gaussian model.(Kind of soft clustering compared to Kmeans)
But, I am stuck in some of the basics of its derivation in E step.
\begin{align*}
Q(\theta|\theta^{(t)}) &= \mathbb{E}_{\mathb... |
I am currently training a neural network that should be capable, of mapping a set of audio samples to a set of mfcc features. The mapping is done using a neural network, which i am currently training.
I normalized the data range of the input data,between -0.9 to 0.9 such that i could use an activation function such as... |
I have 19 technical trading indicator variables over 10 years, for 25 different assets. I am attempting to reduce dimensionality to 2 components.
I want to plot all assets on a 2D graph against PC1 and PC2.
My questions are:
How do I achieve this, considering I have daily time series data? Surely, I must have only on... |
I ran an experiment and got a statistically significant result with an effect size of cohen's d=0.36 (N=20). I decided to run a replication study, this time with 60 participants, and got nothing (d=0.02). I want to compute a Bayes factor for the ratio between the likelihoods of my data under the effect size as predicte... |
I had to develop a multiple regression linear equation for my multivariate non normal data of physio-chemical parameters with N=100 observations.So I fed my data into SPSS and got the following result:
$R=.723$ , $R^2=.523$ , $adjR^2=.513$ , $S=51.03$ , $ F=14.707$ , $sig=.000$
So my question is whether I can go ahead... |
I am working on this problem for my research. The attached time series represents the memory usage of an application over time. As you can imagine, the memory usage steps up randomly every few days. Once in a while, there is a step down (or a spike down) as well (not seen in this figure), but usually the plot keeps gro... |
Assume, we estimate the model
$Y_i = \beta_0 + \beta_1 X_i + u_i$,
with OLS. In the case of homoscedasticity, the standard error of $\widehat{\beta}_1$ can be estimated as
$\sigma_{\widehat{\beta}_1} = \sqrt {\dfrac{\sigma_u^2}{n \sigma^2_X}} = \sqrt{ \dfrac{1}{n} \dfrac{\frac{1}{n-2}\sum_{i=1}^{n}\widehat{u}_i^2}{\f... |
I'm having trouble with understanding this theory that states that every irreducible chain (we are talking about finite states Markov Chain) has a unique stationary distribution if and only if all the states are positive recurrent. Nevertheless, consider the transition matrix
$M=
\begin{bmatrix}
0.5 & 0.5 & 0 & 0... |
Imagine $Y$ is an observation from a binomial distribution $Y\sim B(n, p)$ where $n$ is known and $p$ is unknown.
I want to fit a model where the probability $p$ comes from the following process. Each observation $(i=1, ..., n)$ has a latent variable $X\sim Weibull(\lambda)$ and the outcome $y_i$ is $1$ if the latent ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.