instruction stringlengths 9 38.7k |
|---|
I am new to decision tree method. For decision tree regression model, does it just fit a piece wise step function over data? When and why would people prefer it over some traditional regression like locally weighted (LOESS) regression?
(Cross asked at Data Science stack exchange)
|
I am new to classification, but not to regression. I already used regression to fit a linear combination of time varying signals to match two constant signals, -1 and 1, representing their classes.
In order to decide which class the result belongs to, a standard way is to test if the average is positive or negative.
I... |
I ran the auto.arima()command in R on a set of data and it chose the appropriate model to be ARIMA(0,1,0).
I know ARIMA(0,0,0) is just white noise, but what does ARIMA(0,1,0) mean?
|
Has anybody any idea as to why Nelsen's book on copulas is absolutely continuous in its silence about the Gaussian copula? It seems like an indirect statement of scorn.
|
I have a relatively small sample size and I am using cross validation but I am still concerned that my SVR model is overfitting. What method is available to check this?
What should I be looking at or thinking about when figuring if my model overfits using SVR?
Here is some code I used in R to create my model.
tc ... |
Consider a case that we see {H,H} in two coin tossing. We model this with binomial distribution as:
$P(D|x) = x^2*(1-x)^0 = x^2$
Now, if we want to compute x based on MLE:
$Log(P(D|x)) = 2Logx$.
and the derivative is:
$\frac{2}{x}$.
D is Data and x is the parameter.
So, what is the x?
|
I have data from around 1000 football matches and I want to apply machine learning algorithms and see which one has better accuracy and how I can improve it.
Certain statistics have been gathered from each football match since 2010 and my data set looks like in the picture attached below. Some features are: Home Yellow... |
I would like to know your insights / opinions, about what is good approach:
MAIN QUESTION:
Remove highly correlated columns BEFORE or AFTER converting nominals to dummy variables?
The difference in final dataset can be quite huge, because:
converting to dummies can create many columns (often having many same numbers ... |
I have a conceptual question that might also be a question about STATA and GLLAMM.
Conceptually: Should duplicating some groups in a mixed effects model have the same effect as giving those groups a sample weight of two? I think it should but STATA's GLLAMM doesnt' agree.
To explain further:
I have a data set with 1... |
I am attempting to fit a generalized linear mixed effects model in R using lme4, but am new to mixed models. I'd like to model Survivorship as the outcome of Treatment + Environmental Factors (clarified below), with random effects for Plots nested within Sites.
My question and experimental design are fairly similar to ... |
I'm trying to estimate the parameters for A multivariate time series using the MARSS package in R. The default model in MARSS is
$$x_t = B x_{t-1} + w_t$$
$$y_t = Zx_t + v_t$$.
The problem is that, instead of having the continuous measurement $y_t$ for $t\in(0,1000)$ , I only have continuous observation from two measur... |
I'm trying to understand t-SNE better and I was hoping someone could elaborate on how the $\sigma _i$'s are chosen.
I was also wondering why they aren't just calculated in the normal way standard deviation is calculated from the data with $x_{i} $ as the expected value for each $\sigma _i$.
|
This question might be strange but I am really disappointed with the bad results I have been getting so I decided to get some ideas from experts. I have a dataset X of binary classes y=(1,-1). This dataset has 100,000 samples and 128 features. Each feature is basically a binary value 0 or 1. For instance, one sample wo... |
How can I deal with the Reinforcement learning problem with a fixed length episode but no terminal state?
Can I use the same method as the normal reinforcement learning with terminal state?
|
Question: When analyzing a time series of size $N$ assume that you fit models for data in the intervals $[1,N/2]$, $[N/2+1,N]$,
$[1,(2/3)N]$ and $[(2/3)N+1,N]$. Discuss what this approach is for.
In this case, all intervals are disjoint and the union of those represents the complete data set.
What I read here Fore... |
I fitted a linear regression with heteroscedescity using weighted least square method. How do I evaluate the quality of my fitting? I’m thinking by the p-value of slope/intercept. Or maybe because I minimized the cost function and that process already does the talking?
|
I have two metrics, Call Volumes and Call Abandons. On a day with high call volumes, there comes high call abandons. While high call abandons will become a part of the call volumes later when customers call back, so the impacts between the two becoming a loop. We don't have a record who are the ones abandoned the calls... |
Goodness-of-fit testing in multiple linear regression based on a centered model usually uses the test statistics
$$\frac{SSR}{\sigma^2 p} \bigg/ \frac{SSE}{\sigma^2(n-p-1)} \sim F_{p, n-p-1}$$
, where $\sigma^2$ is the variance of the error term, $n$ is the number of observations, and $p$ the number of features.
I have... |
I'm trying to figure out the proper way to run an ANOVA that accounts for multiple measurements within a subject and where the number of measurements differs across subjects. The factor (treatment) of interest is fixed within a subject across these multiple measurements.
I've read numerous examples about ANOVA using re... |
I have been doing some simple Mahalanobis distance problems by hand and checking my answers in the back of the book. Things were going well, so I decided to try and write a simple program to calculate it for a real data set using my statistics software. Equation I use is:
$$
d(x,y) = \sqrt{(x-y)^\top \Sigma^{-1}(x-y)}
... |
I've been trying to find this information online, but have not had much success so far. I want to approximate the 95% confidence interval for the geometric distribution with the following parameters:
maximum likelihood: $\hat{\theta}=1/4.9\approx 0.204$
sample size: $n=100$
How does one approximate the confidence int... |
I have strongly skewed, zero-inflated count time-series. I want to regress the counts against a continuous variable. Here's what they look like when plotted against each other year by year. (X lags behind Y by one year.) The blue print is the average followed by variance.
Since variance is much higher than mean, I hav... |
I am working on using linear mixed effect model to analysis the repeated measurement for different subjects in a longitudinal study. After I read some article and paper, I did not find any place discuss that can some measurement is missing for some subjects? In the lmer() function, it can use all the observations, even... |
A 2D random point (x,y) is uniformly distributed on the shaded region of the figure.
What is the linear MMSE estimator for y, given x?
This is what I have so far:
Since it's a linear estimator, I want my estimator to have a form as the following:
$$ \hat{y} = wx$$
Now I want to find $w$ with the least expected varian... |
This is very related to Radford Neal's awesome blogpost, but his example uses a single data point x, and I want to know how to replicate the results using $n$ data points. This is essentially what my question will "boil down" to. Below I'll try to describe what I've done, but its not essential to read if you already kn... |
What post hoc test can I do after Kruskal-Wallis?
Is there a post hoc test for non-parametric test? Some says there's none.
I ran Kruskal-Wallis test and as a result the null hypothesis was rejected. Is there a post hoc test that I can use to pinpoint which group/s is/are different?
|
Can anyone give me some pointers of how to get around the following error messages? I'm trying to run mixed models for significance using lme4 and got these messages:
Does anyone know what I should do about the following messages that I get when trying to run mixed models for significance one lme4?
Model failed to con... |
The question is: given that I have a data set and a theoretical cumulative distribution defined as a function, how can I make a qqplot to compare them?
I cooked up a solution as follows: I chose a domain for the empirical distribution and evaluated it over those points, obtaining an image. Then, I constructed inverses ... |
I would like to ask a question regarding a backwards stepwise elimination for MLR.
I recently saw a lecture on an online course at udemy.com and it demonstrated three steps to go from a four regressor model (first model) down to a one regressor model (fourth model). The third model had a regressor that was almost stati... |
Let's say I have the following scenario. I have a data set that is split by groups. I want to fit two different models to each groups, but I want to constrain the coefficient to be the same between both models. Is there a way to do this. E.g. in the following
set.seed(100)
adf <- data.frame(x=runif(100,0,100))
adf$y <... |
I would like to investigate the association between an exposure variable (an environmental pollutant) and a health endpoint using a regression model. This is usually done with a multi-linear model where y is the endpoint (a continuous variable, e.g. blood pressure), $x_1$ the exposure (e.g. air concentration of contami... |
Context
I have a vector with 1000 time series, I would like to create a workflow to classify them as described in the following pseudocode:
Time_series ( is a vector of time series)
For ts in time_series:
Idx1=Meassure_index_1(ts)
Idx2=Meassure_index_2(ts)
If idx1 >= yield:
# is a seasonal time series
If idx2 >= y... |
I'm having a problem when calculating the variance of the following estimator:
$\hat\theta=\frac{1}{N}\sum_{n=1}^{N}D_n$ with $D_1....D_N$ independent random variables.
In order to calculate the variance of this estimator, I follow the following procedure:
$\sigma_{\hat\theta}^{2}=E[(\hat\theta - E[\hat\theta])^2]=E[\... |
I'm trying to model a poorly shuffled deck, where the probabilities of cards showing up in different positions are not uniform.
Example deck with three cards: $c_1, c_2, c_3$. After the poor shuffle
$$
P(c_n\ in\ position\ n) = 0.6\\
P(c_n\ in\ position\ m) = 0.2, m \neq n
$$
I'm trying to predict the cards one by one ... |
I have a predictive model with a relative small number of model parameters (only 6). When I train the model on the training set and than validate the model on the validation set I have a strong indication of an over-fit (out-of-sample error is significantly larger than the in-sample error).
So, to solve the problem I c... |
A common way to avoid an over-fitting is to train a model on one set and then to check the error on the validation set. If the out-of-sample error is much larger than the in-sample error than we have an over-fitting and therefore we need to suppress the expressive power of the model (either by using a model with a smal... |
Let's say I have a AR(1) process. E.g: $$X_t=\frac{1}{2}X_{t-1}+Z_{t}$$
with $Z_t$ iid student t-distributed with 10 df.
Let's say I have simulated $X_1,X_2 ... X_{1000}$, with $X_{0}=0$.
I want to construct a 95% confidence band for the sample autocorrelation for the first 20 lags. The R function ACF returns the $+/-\... |
Im currently studying the Wald test statistic for testing $ H_0: \boldsymbol{R'\hat{\beta}} = \boldsymbol{r} $ given by
$$
W = \frac{(\boldsymbol{R'\hat{\beta}} - \boldsymbol{r})'(\boldsymbol{R'(X'X)R)}^{-1}(\boldsymbol{R'\hat{\beta}} - \boldsymbol{r})}{\hat{\sigma}^2},
$$
where $\hat{\sigma}^2$ is a consistent estimat... |
Let's suppose that I divided my population $N$ into 3 groups:
$N_1$, $N_2$ and $N_3$
I used stratified sampling to get samples which are representativie for each group, let's call them
$n_1$,$n_2$ and $n_3$.
The sum, of course, is equal to $n$. Now I want to compute the confidence interval for the mean, sigma unknown.... |
I'm wondering whether to use OneHotEncoding before using PCA.
I did some googling and it seems the answer is no, because PCA doesn't work well on binary data (This is the source)
I just want to make sure my current understanding, that :
Numerical features should be standardized (by StandardScaler) before applying PCA
... |
I'm having some difficulty in deriving the ML estimation of the parameters of a Wishart distribution.
Given a set of matrices $\{W_1, W_2,\dots,W_N\} \in \mathbb{C}^{k\times k}$ for which $W_i \sim Wishart_C(\nu,\Sigma)$ is assumed (and $\nu > k$), I want to estimate $\Sigma$ and $\nu$.
Defining the log-likelihood give... |
When comparing the errors and biases between various deterministic model forecasts to observations, how can I tell which differences are significant?
Specifically: I'm running air quality forecasts (hindcasts) in models of different resolutions, lets say models A and B. I compare the results of these forecasts to obse... |
Assume there are ten data with values $a_1$, $a_2$, ..., $a_{10}$ each with different non-symmetric errors. The problem confronting me in brief is, to combine the 10 results $a_{i}$ and their associated non-symmetric errors according to some acceptable precept so as to determine the value of $a$ and its errors which be... |
Imagine we have a set of data, with two variables, the first of which can be represented in polar co-ordinates (for example hour or day, or day of week). The second variable is a real valued and has some relationship with the first. The data might look something like the following:
I would like to fit a closed curve t... |
A random triangle is formed in some way, such that all pairs of angles have the same joint distribution. What is the correlation between two of the angles (assuming that the variance of the angles is nonzero)?
Is it true that, since all will have the same joint distribution, tha5t the correlation between two of the ang... |
When is a scenario that you would use a 2 sample, 2 sided t-test? I am currently trying to solve a problem and i know i need a 2 sample t test because im comparing the means of 2 data sets but not sure about 2 sided?
|
What does this mean?
Epoch 1/300
7200/7200 [==============================] - 0s - loss: 3.3616 - acc:
0.3707
I built a neural network in keras and this is what it displayed. Since I am new to the whole neural networks, I am learning by reading through the various examples available online. This one comes from a neu... |
Needless to say, I know that the answer is trivially "because that's part of the definition of a random variable", but what I'm really looking for is why that's part of the definition. Why do we want our random variables to be $\mathcal{F}$-measurable? What useful properties would we lose if this was not the case? What... |
I have two samples of two-dimensional points:
$$D_1 = (\vec x_1, \vec x_2, \dots, \vec x_n)$$
$$D_2 = (\vec y_1, \vec y_2, \dots, \vec y_m)$$
Note that the samples do not have the same length. The points are two-dimensional:
$$\vec x_i = (x_{i1},x_{i2})$$
I need a statistical test for the null hypothesis that $D_1$ and... |
I have been given two tasks 1.) predict future sales, 2.) explain what factors influence sales.
The way I am solving the prediction part is to use forecasting as taught by Rob Hyndman. This seems straight forward to me.
What is more difficult is explaining why sales do what they do. I am guessing that this is best sol... |
I'm not really happy with the mind maps I've been able to find on Google, most of them are algorithm based. I want to make a good one that is problem/solution domain based. Do I have this right for my top level nodes? Here is what I have so far: https://i.stack.imgur.com/o7O2J.jpg
My questions/doubts about what I ha... |
Image you have to present your PCA findings to a managerial board. An example:
After having read answers from here, I've understood that
The left and bottom axis are correlations
The right and upper are the weights (i.e. loadings)
However, even after reading the other posts, it’s hard for me to interpret the resul... |
AR(1) model: $X_t = \phi X_{t-1} + w_t$
Let $γ(h)$ denote the autocovariance function.
Note that
$\gamma(1)=\text{Cov}(X_{t+1},X_t)=\text{Cov}(\phi X_t+w_{t+1}, X_t)=\phi\gamma(0)$
I've read a bunch of different derivations of the autocovariance function for AR(1) model and I still don't understand it. How do we get t... |
This may be an obvious question: what do you do when the AIC or BIC choose a model that makes no sense in reality.
I'm looking at data for predictors of hospital selection, and things like a spouse's age are on the right-hand side of the lowest-BIC regression, whereas more obvious things like wealth and education are n... |
Gaussian Mixture Model in Matlab( More likely that it will be a combination of 2 normal distribution or Beta distribution)
Let's say I have a collection of data that I want to model using Probability distributions. I'll call my data "yearly_data" and a frequency distribution is attached below and as it can be seen, it ... |
Background
From my understanding to the log likelihood test in survival analysis that this test calculated twice, first time its calculated for null model (no covariants) and second time its calculated to model with covariants. Then, as much we get small difference between these two values we can say that this model fi... |
A stick of length 1 is broken at a uniformly random point, yielding two pieces. Let X and Y be the lengths of the shorter and longer pieces, respectively, and let R=X/Y be the ratio of the lengths of X and Y.
(a) Find the CDF and PDF of R.
(b) Find the expected value of R (if it exists).
(c) Find the expected value of ... |
Suppose
model <- Arima(y , xreg=cbind(x1, x2), order=(p,d,q))
If I am forecasting $x_1$ and $x_2$, then for forecasting $y$:
1) If I use expected forecasts for $x_1$ and $x_2$ (single numbers), I simply do:
forecast(model, xreg=cbind(E(future x1) , E(future x2))
2) How about if I want to use forecast intervals for $... |
There are several simulation based estimators for estimating marginal likelihood of data - Importance Sampling estimator, Newton Raftery estimator, Chib's method, Gelfand-Dey estimator etc. But while reporting the estimate (in articles or dissertations), the variance of those estimates very rarely get's reported.
I th... |
Given iid random variables $X_1, \dots, X_n$ with common density: $$ f(x) = 1\{ x > 0 \} \cdot \frac{1}{(x+1)^2} $$ it is supposed to be the case that $\frac{\max_i X_i}{n}$ converges in distribution.
Question: How can these random variables converge in distribution if the pointwise limit of their cumulative distribut... |
Let $A,B,C$ be random variables with a finite sample space and the symbol $\perp$ denote independence. Is the statement
\begin{align}
A \perp B \text{ and } A \perp B | C \Rightarrow (A \perp C \text{ or } B \perp C)
\end{align}
true if $C$ is binary? And if $C$ is nonbinary?
Intuitively, this can be represented as a ... |
I'm working through Kingman's Poisson Processes and have a question about defining the mean measure. Why is it that in most cases we specify an intensity function $\lambda(x)$, where the mean measure of the process is then defined as $\mu(A)=\int_A \lambda(x)dx$ (for $A$ in our state space $S$)? Why don't we just direc... |
In machine learning, is confidence nothing different than accuracy? Or there is any significant difference?
|
I am trying to understand whether the Durbin-Watson test is meaningful at all when applied to regression data that have no temporal order (eg. blood pressure ~ bodyMassIndex + exercise).
I would say no, as the autocorrelation should obviously vary with the order of the subjects (which is random), but I wonder whether ... |
My data is consisted of the scores of high school students in algebra. N=23, the mean is 7.96 and the standard deviation is 4.017. I don't know what does the value of standard deviation tells about my data. Is my data dispersed or not?
|
I want to model a stock's volatility with a proxy variable. Consider a standard GARCH(1,1) model:
$$
\sigma^2_t=a+b \sigma^2_{t-1}+c r^2_{t-1}.
$$
Classically, $r_{t}$ is the return of the stock at time $t$.
Instead of return of stock, I want to use a proxy variable. Let define it as $p$. So the model becomes:
$$
\sig... |
I tried to use sklearn.linear_model.LogisticRegression() on data where the labels are 0 or 1.
classifier.fit(points, labels)
classifier.predict(points)
The output of predict() is just float numbers, not 0 or 1. How can I use these numbers to predict the class? Earlier I used LogisticRegression on a multi-class problem... |
I have a multiple regression, with a specification like this (using R notation):
lm(nohusk ~ Line + (habitat + hemisphere + n.ind)^2 + I(n.ind^2) )
For those not familiar, (habitat + hemisphere + n.ind)^2 implies all second-order interaction between habitat, hemisphere and n.ind. I(n.ind^2) is the square of n.ind.
Fo... |
Consider VAR(1) process
$$y_t = A_1y_{t-1} + u_t.$$
I am looking for a reference or proof that if all entries in $A_1$ are less than one in modulus then $y_t$ is stable. I am sure that last semester a professor told that, but I can't find a reference.
Edit1:
In response to @Jarle Tufto answer, I believe that this is... |
I was playing around with the Rssa when I discovered this:
Firstly:
I created to sequences:
library Rssa
x<-1:100
x1<-1:80
then the corresponding function:
fx<-sin(x)
fx1<-sin(x1)
then I passed all into the ssa:
s<-ssa(fx1)
plot(s,"vectors)
#obviusly the first two comps represent the sin func.#
r<-reconstruct(s,grou... |
I want to model stocks' volatility with GARCH based models, with external variables. Until now, I found RUGARCH package fot that purpose. However, I wonder is there any other packages for GARCH modelling with external variables. Thanks a lot.
|
One of my analyst asked me why his Gamma/link=log glm with offsets was always overstating his observed data points.
I was able to reproduce the behavior in R with intercept only glm using offsets. For some reason, when you use offsets with a Gamma/link=log your predictions are overstated.
See this code :
set.seed(12345... |
I am wondering what could be the most efficient approach to feature engineering with data consisting of huge number of anonymous variables of unknown, or blurry meaning? To not make it too broad, let's focus on numerical and one-hot-encoded categorical variables, and ignore working with textual data. By efficient I mea... |
I have data x that I have split into train and test data:
train = x[1:80,1]
test = x[81:length(x), 1]
I am trying to do cross-validation: i.e. fit the model to train and then see how it performs compared to the test data.
The first method I'm using is through the Arima() function:
fittrain = Arima(train, order=c(1,1,0... |
I am using k-means clustering algorithm to cluster one-dimensional numeric data set.
As far as I know k-means is sensitive to the initialization of the centroids. However, in my case I get the same result, no matter which centroids have been chosen.
Is it because I am clustering one-dimensional dataset ?
Is it safe to ... |
From
https://en.wikipedia.org/wiki/Bayesian_inference
Scenario: A series of N points(${x_{1,..,n}}$) are drawn from distribution p(x|$\theta$),here $\theta$ is a parameter for distribution and itself being a random variable.
After getting evidence from N data points, we get a better(less variability) distribution for $... |
I want to know how I can calculate the output layer from (number of neurons and shape of that) of deep neural network layers. Suppose we have 32 * 32 image input of 2D convolution layer with parameters:
num_filters = 96,
kernel_size = 5,
stride = 1,
pad = 2.
How do I calculate output form or for pooling layer or oth... |
What is the standard deviation of their combined income if their incomes have a bivariate normal distribution and the correlation between them is 0.4? What is it if the correlation is -0.4?
I calculated the standard deviation of the combined income using this formula for 0.4. What do I do with the negative correlati... |
I have a data set of occurrences per day and I want to see if the day of the week has an influence. However the data is biased: of all the days on which we measured, 22 are Mondays, but only 18 are Sundays.
| M| T| W| T| F| S| S|
h_i|60|46|47|57|52|37|33| //total number of occurrences per given day of the week
w_... |
I haven't looked into power laws before, so the question may very well have an obvious, embarrassing answer. In some ways it dovetails with this post.
The problem may be in the method, or in the interpretation of the power.law.fit() function in the igraph r package.
I used the following method from Wolfram MathWorld an... |
I want to predict out of sample data for the same group (lets say state ) for new time window by either fixed or random method.."predict" function is not helping.Here i gave a example of a dataset call "Cigar" available in "plm" package.I deleted the a_test$sales as it has to be predicted
a_test=subset(a, year >= 90)... |
I'm facing a challenge while building a classification model. Much thanks in advance to everyone who would like to help!
I need to develop a classification model based on a large amount of data. My dataset consists of:
about 2 thousand reliable positive examples - P;
about 2 thousand reliable negative examples - N;
a... |
I am training an LSTM neural network for nlm on a big dataset:
the model has about 100M learnable parameters
and the dataset consists of about 2G characters.
Therefore it seems that overfitting should not be a problem. Should I still try to apply dropout to my model? How should I determine this? (would you please link ... |
I would like to learn that all forecasting methods are doing decomposition initially. For example, as I know, MAPA method is decomposing the time-series data first, then apply forecasting. If not all models perform decomposition, could you please tell me which methods are decomposing the signal first then forecast?
|
As a hobbyist learning about predictive modeling and machine learning, I am having some difficulty finding clarity regarding the KS statistic as a method for model selection.
My mentor has been steadfast in selecting the model with the largest KS value (So long as the KS between Training and Validation data sets do not... |
i beginner in data mining in my company and i want to do some prediction in our stock , the stock contain products that have nay and sale every time ,
i want to make some prediction about best sales time,best price and so on , what is the best to use time series prediction with good accuracy
neural network or time s... |
I am trying to formulate a model through simple linear regression of automobile sales dependent on GDP growth.
I have the following data:
Annual GDP growth in the affected countries as a percentage
Annual automobile sales in both growth percentage and absolute numbers.
My question is:
Can I get a logically sound r... |
Does the fact that Pearson's correlation does not use ranks make it more robust to outliers than Spearman's one ?
|
For improved performance in Monte Carlo-based uncertainty propagation, I want to draw random numbers from a multivariate t-distribution that has different degrees of freedom $\nu_i$ for each marginal t-distribution $t(\mu_i, \Sigma, \nu_i)$, instead of supplying one (Welch-Satterthwaite approximated) $\nu$ to all margi... |
I was reading this answer to the question on whether all covariates should be kept in the model or just those that are statistically significant, and I noticed the point number 2:
The effect size of a covariate may be high, even if it is not significant.
And, this has always been on my mind, why we could have such a ... |
Of my dataset $X$ I want to calculate the likelihood using my GMM model (for BIC). Mathematically it seems to make sense that as the samples are independant $P(X) = P(X_1)P(X_2)..$, so I would get the likelihood by taking the product of the likelihoods per sample.
But it doesn't seem intuitively correct that the more s... |
I am conducting an experiment with one continuous response variable, four categorical explanatory variables (breed, breed line, time of day tested, reproductive status) and one continuous explanatory variable (age). As I understand the appropriate test for this data would be an ANCOVA.
I have two levels for Breed, and ... |
Question Let U1,....,Un be i.i.d. Unif(0,1), and X = max(U1,...,Un).
(a) What is the PDF of X?
(b) What is EX?
(c) Use simulations in R (the statistical programming language) to numerically estimate EX.
My solution
So, the formula I got for EX is $ \frac{n}{n+1}$. I wrote an R script to estimate the value of EX, which ... |
I am confused about what the Mincer-Zarnowiz regression does. What I understand is that it checks if the forecast we make is biased or not.
Let's say we have the following example:
Height GPA
66.0 2.90
57.0 3.16
64.5 3.62
62.0 2.00
69.5 3.45
65.0 2.80
63.0 3.63
68.0 2.81
59.5 3.33
64.0 ... |
I must evaluate the goodness of an instrument according to the measures of the final products. I have two instruments: one good and the other one whose goodness I have to evaluate. The measures are related to pressures.
What I thought is to sample same products with both the good instrument and the unknown one. The s... |
Suppose we sample 10 data points where 4 are deemed successes. The likelihood of this given the probability of success $p$ is $p^4(1-p)^6.$
Consider now the problem of continuously sampling until we reach 4 successes. We find that after 10 samples, the $10^{th}$ happened to be the $4^{th}$ success. What is the likeliho... |
My model $M$ depends on some parameters $\theta$: $M(\theta)$.
The model contains two random variables $X_{1}(t)$, $X_{2}(t)$, which vary over time $t$.
$X_{1}(t) \sim Pois(\mu_{1}(t))$ and $X_{2}(t) \sim Pois(\mu_{2}(t))$, $\mu_{1}(t)=f_{1}(t;\theta)$ and $\mu_{2}(t)=f_{2}(t;\theta)$ where $f_{1}$ and $f_{2}$ are two ... |
I'm reading Wu, J. (2014), Restoring monotonic power in Wald/LM-type tests.
At a certain point in his derivations, an expresion turns out to be $=O_p(\frac{1}{T^{3/10}h^{5/10}}+T^{2/10}h^{20/10})$, where $T$ is the sample size (the paper is about time series tests) and $h$ is the bandwidth of a kernel estimator he is p... |
I was wondering whether there is some equivalent of trimmed mean when estimating skewness (or kurtosis)? I am looking for something which would be called maybe a trimmed sample skewness or kurtosis.
If I had reason to believe that the outliers are generated by a different process than the rest of the data, I could jus... |
In the second lesson on Machine Learning (https://www.coursera.org/learn/machine-learning/lecture/olRZo/unsupervised-learning), Prof. Andrew Ng from Stanford (https://en.wikipedia.org/wiki/Andrew_Ng) mentions that Matlab/Octave is widely used in the Machine learning industry to prototype.
I did quite a bit of research... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.