instruction
stringlengths
9
38.7k
I would like to model the functional relationship between two acoustic measurements of traffic noise exposure, e.g. noise during day (x) and noise during night (y), expressed in Decibel values, using some kind of linear regression. The purpose of the exercise is to predict the noise at night from the noise during day a...
I have a three independent variables and am getting significance under chi squared for my main study variable in some of my subgroups, but not all, which I'm OK with because that mostly aligns with my predictions. My editor suggested I use logistic regression, which I’m very new to. If I understand my results, I’m not ...
I am implementing a logistic regression with RBF (Gaussian) kernel. Here are the steps I tried: first finding centers with k-means perform the transformation using $e^{-(||x-c_i||)^2/2\sigma^2}$ Currently I am estimating $\sigma$'s by calculating the variances of distances between each cluster center and points in tha...
Let's say we are doing logistic regression for classification. When the features are used directly, it means we are using some characteristics (features) of the object to classify them. But when using RBF (say with Gaussian kernel), we are using the similarity of an object with some prototype objects as features. But w...
I know in terms of $y$, the general forecasting equation is: $$ \hat{y}_t = \mu + \varphi_1 y_{t-1} + \dots + \varphi_p y_{t-p} - \theta_1e_{t-1} - \dots - \theta_qe_{t-q}. $$ I also know that ARIMA(1,0,0) = first-order autoregressive model: $$ \hat{y}_t = \mu + \varphi_1y_{t-1}. $$ Can someone tell me how I can write...
I have been running a few linear regression models to test the absolute and relative effect of several independent variables related to spending/investment on different tools on one measure of performance that I want to increase. I first ranked the Pearson correlation of these independent variables/tools, with some hav...
Let's say we had the word STATISTICS, and it was hanging on a wall, then two letters in the word blew off, and somebody found them. What are the chances they put them in the correct order? here is what I have. A = letters are put in order I = letters are identical P(A given I) = 1 P(A given I compliment) = 1/2 I want ...
I have a large dataset (ranging from 10k to 100k items) and some of them are almost duplicates. What I'd like to do is to merge those almost duplicates by finding clusters of words in my dataset. I've been browsing some answered questions and they provide a lot of infos that I'm finding hard to process, especially beca...
I needed to find an adequate model for a time series using SAS and I found two slightly different models that were adequate according to the white noise test. All of the transformations and things I added to the model were also significant according to SAS but there are still about 4 lags that are slightly sticking out...
Given that parameter estimates in GLMs are inconsistent if any of a) errors are heteroscedastic b) link function is misspecified c) covariates are not included d) (other conditions?) happen to apply (and they are likely to apply in any real problem), what good are such estimates and the models that use them? Add 1 Gi...
I am looking for a toy example to understand this behavior. Preferebly a text classification one I read the following from http://people.cs.umass.edu/~mccallum/papers/crf-tutorial.pdf at page 7. Furthermore, even when naive Bayes has good classification accuracy, its probability estimates tend to be poor. To understand...
Would it be accurate to say that a p-value is a random variable whose null distribution is Unif$(0,1)$ which stochastically dominates its distribution under the alternative hypothesis? I realized that I have been thinking about p-values in the sense of "if we set significance level $\alpha$, then we expect $\alpha$ pro...
I would like to measure the accuracy of an algorithm at predicting a certain target value. Since there is some variance in the algorithm's output, I've run it a few times and computed the Pearson correlation between the predictions and the targets each time. Afterwards, I took the average of the correlations using Fish...
Say I had data that had a user_id, date, and problem code recorded each time that a user makes a call. And I want to answer questions like "how many calls did the user make?" and "what problem codes were reported most frequently?" I think I'm 90% there with something like the following: ID, date, problem-code A44, 2016...
Consider the the situation you want to know whether a new medicine will help to reduce the blood pressure. Assume now you do a random draw from your target population, say you have 20 people in the lab, then you do randomized assignment, let's say it leads to 10 people in treatment group and 10 people in control group....
I have a small observational dataset (200 non-treatment, 100 treatment). It is obvious that the cohort of people receiving intervention were already sicker across the board by every metric. They also have worse outcomes. The tricky objective is to assess the role of the intervention. Originally, I was going to be descr...
Let's say I have a dataset that is 100 elements long, $X = \{x_0...x_{100}\}$ and I do 1,000 Monte Carlo realizations of the data, $X_j, 0\leq j \leq1000$, sampling 10 points each time. If I then compute the variance (or any other estimator) on those ten points, and do that for every realization, I can then use that ...
For standard logistic regression, we add a bias term (1) in the features. Is it required when RBF is used with Gaussian Kernel?
I am reading an article on cost-effectiveness analysis and would like some help in interpreting an equation given by the authors for the primary outcome of interest, "lifetime productivity costs." The article in question is Tilford et al.'s (2009) "Labor Market Productivity Costs for Caregivers of Children with Spina B...
I wonder if there exists any good approximation solution to the following quantity: Vector $X \sim N(\mu,\Sigma)$, what would be the Expectation of $y=\log\left[\sum\exp\left(x_i\right)\right]$? I know a closed form solution probably doesn't exist, but even some good bound would be of help. This appears when I have a l...
When I introduce concepts to my students, I often find it fun to tell them where the terminology originates ("regression", for example, is a term with an interesting origin). I haven't been able to turn up the history/background of the term "regularization" in statistical/machine learning. So, what is the origin of th...
I am asking this question because there seems to be a lack of a definitive answer despite how many variations of this "how to compare models" question have been asked. (see links about below for proof) I hope because of these links, people will take this question seriously, and I will get a reply. How do compare linear...
To explain this question in more detail, I'll first elaborate my approach: I simulated a sequence of independent random numbers $X = \{x_1,...,x_N\}$. I then take $L$ times the difference; i.e. I create the variables: $dX_{1} = \{X(2)-X(1),...,X(N)-X(N-1)\}$ $dX_{2} = \{dX_{1}(2)-dX_{1}(1),...,dX_{1}(N-1)-dX_{1}(N-1-1...
It is known that the top 10% of students make the Dean's list and that the top 20% earn honors. It is also known that the minimum GPA for Dean's List is 3.84 and for honors is 3.66. How would I approximate the class rank of a student with a GPA like 2.4? It is given that there are 1000 students in the class and that...
Trying to understand this relationship I came across this conversation in an email group: I got a problem while analyzing my data using NN. I got R-square with 0.45 with MSE around 5000. SO I am wonder why? There must be a relation between R-square and MSE? R2 = 1 - SSE/SS0 SSE = N*MSE SS0 = (N-1)*VAR(...
Suppose the casino has a game which allows the player to place only a maximum of 100 bets. Suppose I have devised a strategy that puts the odds in my favor. When I place a bet, I have X % probability of winning where X >50%. Given that I am a conservative person, I want to have at least 75% chance of making a profit. H...
Say I have done transfer learning on a pre-trained network to recognize 10 objects. How do add a 11th item that the network can classify without losing all the 10 categories that I already trained nor the information from the original pre-trained model ? A friend told me that active research is going on in this field, ...
I want to calculate the standard deviation of innovation of AR1 process from its annual value to its corresponding monthly value. Say, I have $x_t=\rho x_{t-1} +\epsilon_t$ where $\epsilon \sim N(0,\sigma^2)$ and that x is annual data. Now to compute the monthly counterpart of this process, I need to know the monthl...
I am conducting the following design and I wanted to know if my initial hypothesis/assumptions were correct. I am conducting a within-subject design. Each patient will receive six treatments on their skin, then 24 hours later I will check their skin and measure the result. I would like to compare the six treatments wit...
I am a little confused about this topic. I computed mean AUPRC values using 5-fold cross validation for my classifier. I understand that comparing the mean AUPRC values for two classifiers to evaluate performance is not sufficient and should be accompanied by a p-value. Is it correct to use the n mean AUPRC values I ...
Given a neural network architecture that has multiple hidden layers and a different number of nodes in each hidden layer (assuming that this is a valid architecture), is it possible to implement feed forward & back prop for such a network using matrix operations? It is clear that matrix operations can be used for feed ...
Most introductory texts or tutorials to time-series forecasting mention that one should de-trend and de-seasonalize a time series first so that it becomes stationary. It is then easier to forecast future values of the time series. I don’t completely understand this: Aren’t the trend and the seasonality of the time ser...
I conducted an experiment where I treated 9 bean seeds to different levels of salinity (ranging from 0g to 4g of salt) when watering them, in order to determine whether if salinity affected seed growth. After watering them fro 10 days, I measured the mass of each of the seeds and determined that the mass of seeds gener...
in continuity to the post stepwise logistic regression non significative variables(high p-values) and as demanded by matthew this is a post explaining the data i have and the problem in fact i have a data composed of 46274 values and 68 variables one y=(0=normal cell/1=abnormalcell) and 67 quantitative variables what ...
I am modeling the proportion of scoring rate of Oneill. I mean to see if Oneill has an unstable scoring rate via GLMM. The formula I desired to use is $Logit(\pi_i)= \alpha+u_i $, i = 1,2,3,...,N=23 $\pi_i$ is the proportion of score rate in each play and $u_i$ follows N(0,$\sigma^2$), $u_i$ is play-specific random ef...
Say that $\mathcal{X}$ is the set of observations, and $\mathcal{Y}$ is the set of classification labels. Also say that $X$ is a continuous random variable that takes values in $\mathcal{X}$, and $Y$ is a discrete random variable that takes values in $\mathcal{Y}$. Then for a testing sample $x\in\mathcal{X}$, I find th...
I'm wondering if it is sensible to train different models for different sets of features (I do not mean one model for each feature). Say I have 4 features - 2 are nominal while the other two are 2 continuous. Does it make sense to train a model on 2 nominal attributes to make a prediction and another model based on the...
I was wondering what modifications should be done to DeepMind's DQN algorithm if we are faced with an environment that is not modified by the agent's actions. Meaning that if we were in state s and took action a, we don't always go to the same new state s'. Like in trading for example. When you enter a trade, you don't...
I have a couple of series of numbers (sequences/time series) $X_j = \{x_{1,j}, ... , x_{N_{j}, j}\}$ which exhibit a high autocorrelation and a dynamic cyclical feature. Below are some illustrations of some of these series. I am looking at ways to capture this dynamic cyclical behaviour and predict the next number $\...
In a survey of random questions, Jane can reply with either of the two possible answers; 'Yes' or 'No'. The theoretical probability of Jane selecting 'Yes' for any random question in the survey is (p). 0 < (p) < 1 and (p) is a decimal with two decimal places (i.e. (p) can be 0.00, 0.01, 0.02, 0.03, ..., 0.98, 0.99, 1....
I have data that include 20 samples divided into 2 groups (category A and category B). The groups are independent, none of the value in one group repeat in other. N(A) =14, N(B) = 6. here is the data: category A category B 0.0119888167559 0.023185483871 0.00101354303189 0.312090168227 8.952311039...
In marketing segmentation studies which define clusters of consumers, categorical variables are often used to capture demographic and phychographic features, such as educational level, location, preferences, behaviors etc. So, in practice seemingly it makes sense to use categorical variables to cluster examples. Let's ...
Could someone recommend book for survey design? I would like to propose good designs for people I am working with. They are trying to conduct survey without control, which is bad design. So, I am looking for survey / design book. By the way I already know what are type I error, power, confidence interval, CLT, etc. I a...
I am using the following code to fit the Inception-resnet v2 pretrained model to perform transfer learning on my own dataset of images, with 8 classes. I would like to know how I can remove the top layer and add a MaxPooling and dense softmax layer to do transfer learning on new images? similar to the Inception V3 code...
Let $A,B,C,D$ be independent normal random variables distributed according to $\mathcal{N}(0,\sigma^2)$ and $E = A+B+C+D$. The goal is to provide an optimal estimate of $\sigma^2$ given samples of $A,B,E$ but not $C,D$. In this case optimal refers to minimising the root-mean square deviation of the estimate $\hat{\sigm...
I'm working through an assignment so I don't expect to be handed the answer. I just need to ask about the equation itself. The question is: Show that When working with the standard normal distribution. In the previous part of the question I derived that So I'm presuming that is pertinent but I'm not sure where to st...
Hеllо еvеrybоdy! It became interesting to me to code the following case: I have some spatio temporal events, and they have uncertain boundaries (for example "John visited England in April" and "Harry was in London on 1 May"). Here we have uncertain location (England and London), so we dont know exacltly at which certai...
I'm following this book with regards to modelling temperature data in a piece-by-piece manner. On page 44, after fitting an AR(3) model to the de-trended and de-seasonalised data, the authors examine the variance of the residuals and: calculate the daily empirical variance by averaging the values of the squared residu...
How to proof that the $k$th moments of random variable $X\backsim N(0, \sigma^2)$ which is: $$ E(X^k) = \begin{cases} \sigma^k(k!!) & \text{for k even;}\\ \ 0 & \text{for k odd} \end{cases} $$ I started from the basic definition of the $k$th moments: $$E(X^k) =\int_{-\infty}^\infty x^k\frac{1}{\sqrt{2\pi}\sigma}e^{- \...
With Nesterov, I had to lower the learning rate to 1e-5 to avoid exploding gradients even though I have He weight initialization. As a result the network is not converging to the same result as the network had with plain SGD. Does it mean that SGD is performing better ?
Is it always (even if only by convention) hazard rate in intervention group divided by hazard rate in control group?
In frequentist, i.e., sampling-based statistics, we envision a target population to which inference is made. Notwithstanding the fact that our so-called random samples from this population are usually more convenience-based samples, we try to infer from a sample to the population. For example in a randomized clinical...
I am fitting a distribution to a histogram which looks very non-Gaussian. The histogram was formed by imaging data, i.e., the values of each pixel in an image, so they aren't "extreme values". By using the command "fithist" in MATLAB as a start, "Generalized Extreme Value Distribution" appeared to describe the histogr...
I have a data set with 50 predictors of categorical and numerical variables and 1 dichotomous outcome. I'd like to perform logistic regression, model it and k-fold cross validate it. However, I have stumbled upon deciding which predictors to include in my model. I have started with the initial hypothesis making, where ...
I have multiple parameters and want to examine their effect on the response variable, $Y$. The experimental design is as follows. There are $3$ factors. Two of them: $A_1$ and $A_2$, have two levels (coded as $0$ and $1$). The third factor, $B$, is a blocking parameter and has $5$ levels: $b_1, b_2, \ldots, b_5$. I hav...
it is clear that feature selection (FS) have to be done separately on training and then on test data to avoid overly optimistic results. Lets assume that I have training set and test data set. Also assume that I am using filter FS. 1. I do FS on training data, use data(features) selected by FS to train classifier (e.g....
I am new to machine learning and as one of my first projects I decided to make a tic tac toe bot. What I've done so far is a rgb/hex color recognition with the naive bayes algorithm, which was really simple to make. Now I am struggling a bit with making a tic tac toe bot. My question is how should I proceed with this,...
R's document says that delta is the raw cross-validation estimate of prediction error, which i think is prediction error rate in the situation of logistic regression. However, when i try to calculate prediction error rate with my own function the result is different. cv.glm: > fit=glm(Direction~Lag1+Lag2,family = binom...
Suppose I have a variable r that has a tail index $\alpha$. How can I know the new tail index if I transform the data, for example using $r^2$ instead? I am using the Hill estimator to estimate the tail index but so fat I can't see a relationship between the parameters when I transform the data.
I have a very large data set ( 79 features: 74 categorical and 5 measurable ) on a very sparse matrix ( 79 x 1,500,000 rows ) The data set is done in this way: phone model, carrier, day of the week, time range, time to landing page, time to external redirect, screen size, screen megapixel, user subscribed. categorical ...
How can I calculate the p-value given Chi Squared and the Degrees of Freedom? For example, what would be the exact p-value of a Chi Squared = 15 with df = 2?
Is there a general formula for this? I read (no of inputs + no of outputs)^0.5 + (1 to 10). to fix the constant value (last part, 0 to 10), use trial and error and find the optimal no of hidden layer neurons for the min MSE. but I was wondering if there was a more specific formula. Edit: Quote read from https://www.r...
I have a model where the input can be N rows if real numbers. N can vary over time. The order of the rows is not important. The output needs to be a Nxm matrix, where m could vary, though I could keep it fixed if necessary. I have read that LSTM networks are suitable for sequences of data, but what if the order of the ...
I've been working on the topic of regularization for neural networks and in the textbook I'm following I found this quote: "We will further simplify the analysis by making a quadratic approximation to the objective function in the neighborhood of the value of the weights that obtains minimal unregularized training cost...
Consider a binary stochastic variable $D$ with possible states on and off, denoted by $D^1$ and $D^0$ . The state of $D$ is informed by $n$ independent binary stochastic variables $x_0$ through $x_n$, also with possible states on and off. When $x_i$ is on it sends probability $f_i$ to $D$, which is the probability that...
How to initialize weights in IRLS? On the wikipedia page about IRLS it is stated that: $W^{(t)}$ is the diagonal matrix of weights, usually with all elements set initially to: $w^{(0)}_i = 1$ but without any direct reference to the source of this information. Why is this the "usual" way of initializing the weights? A...
I've come across a lemma in the infoGAN paper. I do not understand the derivation of Lemma 5.1 in the addendum of the paper. It goes as follows (included as png): I do not understand the last step. Why can one pull $f(x,y)$ into the inner-most integral, transforming it into $f(x',y)$? What are the suitable regularity ...
I'm trying to predict the outcome of a sports match between two teams. I have data on wins and losses for all teams in the league. I intend to use a Bradley-Terry model to find the relative rankings of each team and predict the probability of team $i$ beating team $j$. Before doing so, I'd like to better understand wha...
I've noticed that when addressing the problem of linear endogeneity that the different techniques result in the same estimator for the potentially endogenous variable. Specifically, the control function approach ends up with the same estimator as instrumental variable approaches. Considering that, I've heard it mentio...
Does this hold? $$ \max(0,\vec{a}) \cdot \max(0,\vec{b}) = \max(0,\vec{a} \cdot \vec{b}) $$
I have training data that is classified into 2 categories: X and Not X Each piece of training or experimental data has a variable number of boolean features. Each piece of data may have ~100 features, but the total number of possible boolean features may be in the tens or hundreds of thousands. I want to train a class...
For the Binomial Distribution ${\displaystyle{n \choose k}p^{k}(1-p)^{n-k}}$ I'm trying to understand the intuition of the factors. I understand that the probability of $k$ successes is $p^k$, and the probability of the remaining $(n-k)$ being non-successes is $(1-p)^{n-k}.$ I also understand that ${n \choose k}$ is ...
I have dose-response data sets, of 3 doses, 3 replicates for each dose. I'd like to fit a curve for these data sets and I'm mainly interested in the slope of the curve since I want to be able and distinguish cases such as these two: df.1 <- data.frame(dose = c(10,0.625,2.5,10,0.625,2.5,10,0.625,2.5), ...
First, sorry if this has been asked before. I searched and found lots of info on transformations and back-transformations, but none that offers insight into how you get into the forest and back out My question: you have 16 - 10 = 6 I want to understand how to get back to that 6 after performing various statistical tran...
Suppose I have a linear regression model as follows: $E[Y_i | X_i] = \beta_0 + \beta_1X_{i1} + \beta_2X_{i2} + \beta_3X_{i3} + \beta_4X_{i4}$, what's the Wald test statistic for testing $H_0: \beta_1 = \beta_2 = \beta_3 = 0$?
I've been learning about the Cox proportional hazard model. I have a lot of experience fitting logistic regression models, and so to build intuition I've been comparing models fit using coxph from the R "survival" with logistic regression models fit using glm with family="binomial". If I run the code: library(survival...
What is the most efficient way to do repeated cross-validation in sklearn? I know with R and the caret package, in the trainControl function, I just need to set the method to 'repeatedcv' (see 5.3 Basic Parameter Tuning). What is the equivalent approach in python? I read the documentation of kfold carefully I can could...
I have implemented Kalman Filter to forecast 250 forward steps of some observations The formula I used after recursively filtering on the in-sample set is $y_{T+h|T} = HB^hz_{T|T}$ where H and B are the system matrices as described here http://homepage.univie.ac.at/robert.kunst/statespace.pdf. B is 1 in my case. When a...
What is the equation for a multivariate skewed normal distribution, specifically a two dimensional skewed normal distribution?
From the mtcars dataset, we can get the first word of the rownames by using: a = strsplit(rownames(mtcars), " ") Then by using sapply, we can get the first word of each element of a. sapply(a, "[[",1) My question is how does that even work? How does "[[",1 work as a function in sapply? I found this in a plotly exampl...
Say I have n sample, each with p explanatory variables, namely X. I also have n corresponding response variables, namely y. I want to understand the how the explanatory variables contribute to the response variable. We have two classical approaches: 1). I can get the effect sizes by linear regression, like solving th...
For example, the following R code performs a linear regression: set.seed(123) x <- 1:40 y <- rnorm(40)+((x-20)/10)^2 fit.linear <- lm(y~x) summary(fit.linear) and outputs: Call: lm(formula = y ~ x) Residuals: Min 1Q Median 3Q Max -3.2849 -1.2145 -0.2076 1.4374 3.2221 Coefficients: ...
I used EM algorithm to estimate the parameters of the following time invariant process. $$y=Ct+e_y$$ $$x=Pt+e_x$$ where $y \in R$, $x \in R^d$, $t\sim N(0,I^{p \times p})$, $e_y \sim N(0,\Sigma_y)$, and $e_x \sim N(0,\Sigma_x)$. Both $\Sigma_x$ and $\Sigma_y$ are diagonal covariance matrices. The set of parameters to b...
I am using ls-svm lab toolbox in matlab for regression analysis. Here is the code: %% %read from file filename='datasample500.xlsx'; data=xlsread(filename); input=data(:,1:12); oilOut=data(:,13); waterOut=data(:,14); liqOut=data(:,15); %gasOut=data(:,11); %% %train model type = 'function estimation'; kernel='RBF_kerne...
I am learning about the kernel trick and one of the questions in the textbook is: A new input vector v is assigned to the class of the nearest vector v0 by the distance function || v - v0 ||^2. Formulate a generalised version of the nearest-neighbour classifier using the kernel trick. I know about the common kernel fu...
I the wikipedia page for scatter matrix, it shows the formula as The centering matrix does imply the divide by n, but the summation eqn above does not indicate the divide by n. Why is that? it would make sense though, that you must divide by n, so the scatter matrix does not keep on increasing with more samples. The ...
In a paper by Rouder et al (2009, p. 234), authors indicate that their formula for obtaining a default Bayes Factor from their equation (1) on page 231 can be used for any type of t-test. But they mention that for the two independent samples t-test case, N (total sample size) for two samples (N1, N2) may be computed as...
I performed stochastic regression imputation to handle missing data, using the mice package in R. The code I used is below: library(mice) stocImp <- mice(data1, method="norm.nob", m=1) data2 <- complete(stocImp) My question is as follows: stochastic regression and other imputation methods are not ideal for binary var...
Paper mentioned in the question title deals with localization of certain objects in images. Paper mentions generating multiple types of object masks using deep neural network based on ImageNet, proposing multiple bounding boxes and scoring such proposals. However I can not find how the bounding box proposals are genera...
I usually use Akaike's Information Criteria to compare linear models. This time, I see that with a polynomial term the model's AIC is lower (better) than without it. In fact, the AIC keeps decreasing as we increase the polynomial degree up to 17 poly(var, 17). My question is, is there any way, standard or not, to tell...
I have a population in which I am looking at two variables in individuals. The first is the size of their vertebrae, the other is the presence of pathology in the teeth. The first is in mm (ranging from 9 mm to 15 mm) and ranges over 8 vertebrae, the other is binary (present and not present (and missing)) and ranges o...
I try to implement SVM on a very large data set. My Data is categorical with three classes. I have tried e1071, but it took too long to solve my problem. Anyone who knows the best and fastest library for solving my problem?
I'm reading an article where the AOR was computed after adjusting for confounders; when I calculated the OR it was lower than the AOR presented in the article. Why did the AOR increase? I thought it would be lower after adjustment
I have a conceptual issue about the analysis of the variance of a full factorial experiment design. (3 Var / 2 levels each). In all papers I read, there are plenty of ways to do, some things may seem logical but conceptually causing problems. I will illustrate with a simple example before asking the questions: Let us...
When working with ordinal response data, we can use a proportional odds model to calculate the log odds in favor of one category over another. Often we use a logit link yielding the following model: $${\rm logit}\big(P(Y \leq j|\bf{x})\big) = \alpha_j + \bf{x'\beta}$$ for $j = 1, ..., J$ responses. Alternatively, I've ...
I have a $k-$components mixture of multinomial distributions, with the following distribution: $$ M_k(i) = \sum_{j=1}^{k}\pi_j p_j(i) $$ and I am considering a second mixture $M_l$ with $l<k$ components: $$ M_l(i) = \sum_{j=1}^{l}\tilde{\pi}_j \tilde{p}_j(i) $$ From experimental simulations, I see that if the covarian...
I have the model: Assuming we do not know the "p-value" I'm trying to analyse the significant variable looking only coeff. / std Err and t value. I'm a bit confused as if I looked beta which has a p=0.1 (90% benchmark according to Gujarati) we can say if it is positively significant. The t of beta is 1.65 which I wil...
I have some problems understanding the difference between ATE and ATET and the Selection Bias. To explain what my understanding is I have done the following representation so you can correct me: We want to see the effect of taking LSD, to do so we have a Group to which we assign the "treatment" so $D=1$ and a group wh...
I have a collection of point in time reports for employees. These reports contain measures of employee engagement as well as employee performance. I also have reports indicating when certain employees engaged in a multi month training course for managers. The training course has a rolling enrollment throughout the yea...
I would like to know if the statistic $$T(X_1,\ldots,X_n)=\frac{\sum_{i=1}^n (X_i-\bar{X}_n)^2}{n-1}$$ is complete for $\sigma^2$ in a $N(\mu,\sigma^2)$ setting. Does this depend on whether $\mu$ is previously known or not? If $T$ is complete for $\sigma^2$, then by Lehmann-Scheffé it is UMVUE. But if $\mu$ were known...