instruction
stringlengths
9
38.7k
I applied applied ARIMA to my time series data (24 hours of a day) which is this: Sdate Speed 2012-12-11 00:00:00 0.823237 2012-12-11 01:00:00 0.633637 2012-12-11 02:00:00 1.10858 2012-12-11 03:00:00 1.30435 2012-12-11 04:00:00 1.35649 2012-12-11 05:00:00 0.998616 2012-12-11 06:00:00 0.742183 ...
Are there any articles or books on the sameness the Bayesian and frequentist inference? I'm looking for more than just a statement that 'in large samples and for uninformative priors the results are the same, period'. Like when p-value approach leads to the same conclusions as Bayes Factor (as a way of doing bayesian ...
I am aware that many questions have been asked about mixed models before, and the distinction between random effects and fixed effects. I sincerely hope that this is not a duplicate. I can appreciate the distinction between random and fixed factors, and am interpreting them most in line with Gelman, in that fixed effe...
This is probably obvious for a statistician but I could not find to what refers the asymptotic t approximation method in the correlation test of R cor.test ? ?cor.test For Spearman's test, p-values are computed using algorithm AS 89 for n < 1290 and exact = TRUE, otherwise via the asymptotic t approximation.
Learning Bayesian stats for the first time; as an angle towards understanding MCMC I wondered: is it doing something that fundamentally can't be done another way, or is it just doing something far more efficiently than the alternatives? By way of illustration, suppose we're trying to compute the probability of our para...
Is it possible to compare coefficients across an OLS model and a Heckman model that has the same covariates (plus the inverse Mills ratio)? The coefficient of my main variable of interest changes when I run the Heckman model. This is to be expected as I indeed have a severe sample selection problem. What I wonder is if...
I have a typical linear regression model: Y = B0 + B1*X1 + B2*X2 where B0, B1 and B2 are the regression coefficients which I solve for. Before I do any regression modeling, I standardize the predictor variables X1 and X2. I also standardize the dependent(outcome) variable Y. X1_standardized = (X1 - X1_mean) / X1_std X2...
Suppose that you are a product manager who wants to run a test for a new product. You consult your statistician, select a sample of customers and run the test. Apparently, another product manager wanted to run a cd testing for his own product, selected a sample and run his own test. The two sample overlapped, so some o...
I am fairly new to the area of time series and I am trying to understand the notion of long-range dependence in time series. My goal is to characterize the same in the case of multi-variate time series. The Wikipedia page on long-range dependence talks about using some second-order statistics such as auto-covariance, p...
I was hoping to estimate two parameters of my model that goes like this: $$Z=\left[(aP_1)^{1-b}+((1-a)P_2)^{1-b}\right]^\frac1{1-b}$$ I have $100$ observations of $P_1$ and $P_2$ in my dataset. Now I do not have observed values for the dependent variable $Z$ but I DO have a pretty good guess as to what the estimates $...
I have a dataset of monthly demand in dollars. We'd like to forecast the next year by month using an ARIMA technique. We have a pool of 500 clients who submit invoices on behalf of hundreds of thousands of individual customers who are actually driving the "demand". Our clients WILL invoice, we are unsure of how much, t...
If $\theta$ is uniformly distributed in $\left[-\pi,\pi\right]$, how fast does the sample mean $\left<\cos\left(\theta\right)\right>$ converge to zero? Is the convergence speed proportional to $N$ realizations? $N^2$ realizations?
For the past year, I've been hearing a lot about Probabilistic Programming (PP) frameworks like PyMC3 and Stan, and how great PP is. And today, someone shared this link with me: Pyro: a Deep Probabilistic Programming Language However, I don't really follow what is special about it since it feels like whatever you can ...
If I have a set of product title and their monthly sales data, such as: $369 Harry Potter Books Set #1-7 in Collectible Trunk-Like Toy Chest Box, Decorative Stickers Included by Harry Potte $102 Harry Potter and the Cursed Child, Parts 1 & 2, Special Rehearsal Edition Script ... Now given a new product title, I want ...
How do you estimate the following simultaneous equation model on a panel dataset? $Y_1=\beta_1X_1Y_2 +\beta_2X_2+e_1$ $Y_2=\alpha_1X_1Y_1 +\alpha_2 X_3+e_2$ $Y_1$ and $Y_2$ are endogenous while $X_1, X_2$ and $X_3$ are exogenous. Since I couldn't find a command that runs simultaneous equations for panel datasets in Sta...
I am reading the paper by Willemsen et al (2015), "A multivariate Bayesian model for embryonic growth", Statistics in Medicine, 34:8, 1351–1365 where they define the posterior distribution as, \begin{multline} p(\alpha,\beta,\sigma^{2},\gamma,\Sigma_{\gamma}|y) \propto \prod\limits_{ij} N(y_{ij}|\gamma_{i2} + z^{T}_{...
I am studying the presence of an anatomical variation to the structure of a long bone in healthy and diseased individuals. I have two separate groups of individuals. The anatomical variation is torsion of long bone which sounds simple enough but not according to my reviewers. The big headache is that some individuals i...
I have a data set with a large amount of features. I'm applying PCA on it in order to run it through K-means, to discover clusters in my data set. I'd like to know what is the best practice to make predictions on new data points (with many features) on my clusters (which are defined using only two PCs). Thanks!
Theoretical background: White's heteroskedasticity-consistent (HC) standard errors and Newey-West's heteroskedasticity- and autocorrelation-consistent (HAC) standard errors are closely related. When you set the lag parameter for the latter method to zero, you get the same covariance matrix as with the former method. Se...
I am trying to understand why the order of variables seems to effect p values for both of those variables for the adonis() (Permutational Multivariate Analysis of Variance Using Distance Matrices) test in vegan in R. If I have a community data similarity matrix and two numeric predictors: library(vegan) data(dune) dat...
I have a hypergeometric distribution with known $N$, $n$ and $k$ (following the notation on Wikipedia) and I'd like to calculate the confidence interval for $K$. I considered the Poisson approximation (but I'd like the confidence interval to be valid even for $K$ close to $N$). What other options are there?
I know that the z-test can be used to compare the slopes of two regression lines (lines fitted to two separate data sets). What I do not understand is WHY we can use the z-test for that? Therefore I am really interested in: 1. What is the (statistical) reason that the z-test can be used to check the slopes? So WHY can ...
I just started my learning process about the Monte Carlo Simulation. Does this method always require specifying a distribution type for the random inputs? I would like to attempt a simple modelling of natural phenomena using inputs defined within constrained intervals, but I don't know how those are distributed.
We typically see examples of reinforcement learning problems modeled as a Markov Decision Processes wherein the state transition probabilities are specified. If the system of interest does not have transition uncertainties, are Reinforcement learning techniques useful in those cases or are there other methods that work...
I'm working on a project, trying to model electricity consumption and generation from a bunch of PV generators to see how much of the demand can be satisfied by the production in the "town". Most models use a fixed demand and production profile in an hourly time-series. I'd like to see how variations in both production...
I have a question about the distribution function $F(x)$. There is statement in (K.V.Mardia, Statistics of directional data) about the circular distribution function (which has all the properties of normal distr.f., and some others which correspond to periodicity of this function). Firstly, he defines a distribution fu...
I've been dealing with mostly univariate time series data and am wondering what alternative models exist for forecasting instead of ARIMA, ARMA, AR and MA processes, I know about exponential smoothing, however it can only forecast for one period ahead. Is there any other model which allow me to forecast multiple period...
I have daily time series data of the number of views that a YouTube channel has, alongside daily data on the views that the videos in that channel receive. I would like to predict three months of views given this data and am not sure how to go about this. I was thinking of the following: (1) Time series regression a...
I am given a binary logistic regression data set with 3 predictor variables: I am asked Do you think a simpler model would be preferable? Explain. My answer is Yes because the variable cell is not statistically significant, but I read online that if a regression model has variables that are correlated it must be remov...
How can I prove that a hypothesis space is PAC learnable? The setup for this is X which is a discrete instance space. H is a set of hypotheses over X. H contains all singleton functions as well as all negative functions. Can someone walk me through how to prove this?
In Page 12 of this paper: https://arxiv.org/pdf/1511.05644.pdf, they mentioned that a drawback of non-regularized autoencoders is: "but it is widely known that non-regularized autoencoders “fracture” the manifold into many different domains which result in very different codes for similar images [Hinton]" They did not ...
Nn is a powerful tool with good approximation properties. Decision trees are easy to interpret. Let's have a perfectly tuned neutral network for some data, all parameters and hyperparameters, regularizations, validations etc. How to construct a decision tree as good as possible out of that? My approach: 1. get the dis...
I am trying to include a variable like "account number" which is an "ID" as a predictive variable for a logistic regression model. In fact there are several columns in my dataset that are "IDs" but are important in predicting the outcome. for example if an account number is associated with a fraudulent phone number, I ...
Let $Z_1,\cdots,Z_n$ be independent standard normal random variables. There are many (lengthy) proofs out there, showing that $$ \sum_{i=1}^n \left(Z_i - \frac{1}{n}\sum_{j=1}^n Z_j \right)^2 \sim \chi^2_{n-1} $$ Many proofs are quite long and some of them use induction (e.g. Casella Statistical Inference). I am wonder...
I've programmed the kmeans++ algorithm in java, it's the regular kmeans but choosing the initial clusters in a smarter way rather than just random. I've made some tests and this seems to be correctly programmed. But for my purposes I need the computer to decide the K value so another algorithm computes k-means++ with k...
Question: What are the main differences and similarities between using Newey-West (1987) and Hansen-Hodrick (1980) standard errors? In which situations should one of these be preferred over the other? Notes: I do know how each of these adjustment procedures works; however, I have not yet found any document that would ...
Hi, so i'm using support vector machine for some statistical project and this is a plot of from a using a sigmoid kernel. There are 9 variables and 300 data points. The way i interpret this plot is that the value of eoef0 and gamma will be taken from the darkest region. What does the color of the region signify? The e...
I have been taught the following derivation of the tobit model from a latent underlying variable model: Suppose: $y*=$ latent variable (e.g. utility) $y=max[0,y*]$ And $$y* = \mathbf X\beta + u,\qquad u|\mathbf X \sim Normal(0,\sigma^2) $$ Where the intercept has been absorbed into $\mathbf X_i$ for notational simp...
If by some prior, it is known that some features are more important than the others, how can this be reflected using feature engineering? For example, to encode an article into a vector, it is known that the title of article contains more important information than its body, how would one reflect it when using tf-idf o...
When there is a time-series $\left\{X_1,\cdots,X_T\right\}$, one can compute sample auto-correlations using the data. For example, $\widehat{\mathrm{Cov}}\left[X_t,X_{t-1}\right]=\frac{1}{T-1}\sum_{t=2}^T{\left(X_t-\bar{X}\right)\left(X_{t-1}-\bar{X}\right)}$ is the sample first-order auto-covariance and the sample fir...
I've been seeing the term "benchmark" being thrown around when referring to ARIMA models (e.g. here: https://robjhyndman.com/hyndsight/benchmarks/). I've looked up a definition and cannot find one. What does "benchmark" mean and why would I want to have it?
I have dataset that has numeric, categorical, Continuous and Text data. I am using one classification model for numeric, categorical, Continuous and another for Text data. I get probabilities in both the cases. Now how do I combine these two models? Is this a valid approach given the two models use different parts of t...
I'm working on a regression problem, and am unable to fit a single layer feedforward neural network with linear activation via SGD and replicate the performance of sklearn.linear_model. There are 121 features and 9259 training examples, the inputs are normalized to mean=0 and var=1, and I'm using learning_rate=1e-3. As...
I'm having trouble accounting for overdispersion in a binomial GLMER (lme4 package) - I'd read through other posts on the topic but haven't found anything that solves my problem. I tried adding an observation-level random effect but that resulted in the model not being able to converge. My data looks like > str(exp) 'd...
I am following this for understanding Holt winter's seasonal additive smoothing. I am not able to find any explanation for deciding initial values for trend, level and season for seasonal additive smoothing method. While exploring web, I found this page which provides explanation for deciding initial values. I tried ...
I am struggling with a Use Case. In that use case I have to predict the time(hour and minute) to reach user. I am unable to find which ML Algo to solve this use case. Can any one help to solve. Thanks
I would like to know if there is a way to interpret the confidence interval of a regression line in order to have an idea about the significance of the slope (so about the significance of the linear relationship between x and y ). As a an exemple: data(mtcars) ggplot(mtcars, aes(x=qsec, y=mpg))+ geom_point()+ geom_smo...
Sorry if this has already been answered, I am quite new to deep learning and especially to the specific terms. I am looking into deep learning at the moment, and I found a video done by Sethbling where he shows a deep neural network he has trained that is able to "play Mario". Here is a link : https://www.youtube.com/w...
According to pls package, you can define the number of components of plsr using RMCEP. I tried to do the same for the df, using this code library(pls) y <- as.matrix(df[,1]) x <- as.matrix(df[,2:36]) df.pls <- mvr(y ~ x , ncomp = 10, method = "oscorespls" , validation = ...
I am a bit confused about the general strategy to adopt for the set up of a ML learning algorithm, in the case for example of a neural network, and I have not been able to find resources (books or articles) to answer my questions. Let us consider a neural network where the variables that are tunable are the numbers of ...
I try to modelize princing datas where the price depends on 3 parameters : the profession and the city of the user. The model is very simple : Price = $avgPrice_{profession}\cdot\beta_{city} $ : for each profession, we have a average price, corrected by a coefficient for each city. With R, I used lm in the following wa...
I collected citation data on four scholars for two time-points. For this I selected different types of literature (journal articles, encyclopedias, etc.). I would therefore state, that the data I have are a sample. The data is as follows: library(dplyr) library(rstanarm) my_dat <- tribble(~year, ~person, ~n, ...
I am fitting a binary response two level model to measure student performance (say pass and fail) using glmer from lme4. There are a number of covariates. Covariate 5 in the table below is the method of assessment. I wish to apply weights to this model so that the data are matched between a treatment and control on c...
I have a data set with $n=5000$ and $p=40$. It involves both categorical and continuous variables. I want to use PCA as a feature extraction method. I consider 5 components in PCA. My question is: Do the components resulted from PCA become the new variables and represent the variables instead of the original ones? In o...
I'm studying this Tutorial on Variational Autoencoders by Carl Doersch. In the second page it states: One of the most popular such frameworks is the Variational Autoencoder [1, 3], the subject of this tutorial. The assumptions of this model are weak, and training is fast via backpropagation. VAEs do make an approximat...
Generalized Additive Models for Location, Scale and Shape "relax the assumption of exponential families" in comparison to GLM's or GAM's. This is a direct quote from the paper by Rigby and Stasinopolous (2005). It does not say how they do this. Now, I have read that GLM's also can be extended to allow for non-exponent...
I have an n-by-m array, where every column sums to 1, in other words I have m probability vectors of size n. I would like to cluster them into several categories. I will appreciate, if somebody points me to a robust method that can be used for this purpose. The crucial point here is that these are probability vectors...
I just found this explanation for the different statistical data types, but I'm still not sure what the difference between ordinal categorical and numerical discrete variables is. The example for ordinal data given in this link was the rating of a restaurant in stars. But they define numerical discrete data as follows:...
Considering the following data frame called coris_d0: structure(list(RDT = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), ELISA = c(1, 1, 1, 0, NA, 1, NA, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, NA, 1, 1, 1, 0, NA, 1, 1, 0, 1, NA, 1)), .Names = c("RDT"...
I'm performing my own nonparametric regression in matlab and I'm wondering to switch one nuance of my methodology: Methodology: split Training/test set (i.e. 80/20 %) search the best gamma hyperparameter in the training set: I have one loop to do a gridsearch with crossvalidation(leave-one out) along different values ...
I am making monthly forecast of sales volume, and have IT system in place to observe daily sales. I want to compare actual sales with forecasted sales every 10 days (twice in a month - on 10th and 20th day of every month), and then adjust previously forecasted value for the month if required. Idea is that actual sales ...
For the given significance test, determine the probability of a Type II error or the power, as specified. Suppose we wish to test $H_{0}: p = 0.5$ against $H_{1}: p < 0.4$ using $α = 0.05$. If $p$ is actually equal to $0.4$, what is the probability of a type II error assuming $n = 150$? How do i find the probab...
I have to implement a weighted majority vote which is an aggregation technique to generate one final prediction. In fact, several classifiers make local predictions. These are then collected and combined using a weighted majority rule to output the final prediction. In this article, the soft voting is as follow: $$ \ha...
I would like to know which would be the "best" way to compare the results of two different Monte Carlo integration schemes at a non-converged state, and check if they actually compute (converge to) the same value. In particular, I can compute an arbitrary (within reasonable limits) number of samples of the "reference" ...
Are F-test, P-test and t-test necessary in Simple Linear Regression and Multiple Linear Regression analysis, when we work with entire Population? I have data of a particular field of last two years. I would like to use all of these data into Regression Analysis and want to predict what may happen in next stage when I...
Paraphrased from Understanding Machine Learning by Shalev-Shwartz: Let $\mathbf{x}_1, \dots, \mathbf{x}_m \in \mathbb{R}^d$, $\mathbf{W}$ an $n \times d$ matrix with real entries, and $\mathbf{U}$ a $d \times n$ matrix with real entries, with $n < d$. The principal component analysis (PCA) problem entails finding ...
If I have a series of measurements without any calibration data for an instrument, are there statistical techniques to recover how much error (variance) is attributable to the instrument and how much is error intrinsic to the process under observation?
I'm interested in doing distribution regression with Kernel Mean Embedding with a variety of kernel methods (SVM regression, Ridge Regression, Gaussian Process). Typically in distribution regression, you have something like that maps $x \to y$. $x$ is typically a distribution (i.e. 10 people have spend \$5, 13 people...
Often, in the course of my (self-)study of statistics, I've met the terminology "$\sigma$-algebra generated by a random variable". I don't understand the definition on Wikipedia, but most importantly I don't get the intuition behind it. Why/when do we need $\sigma-$algebras generated by random variables? What is their ...
I am conducting a one way repeated measure ANOVA where my dependent variable is measured at 3-time points, at baseline, 1 month, and at 2 months. I also have another variable measured at baseline. My primary goal is to see if there is a significant difference in the dependent variable between baseline-1month, baseline-...
Going back to a very old question... How to quantify the goodness of fit of a model. Now, I now this is a very general questions, that is probably still the subject of research nowadays, so I will present a more specific case and my initial solution. I have an experiment where I measure two different quantities ($X$ an...
I am interested in determining the effect of climate shocks on nutrition outcomes. I am modeling nutrition outcomes in terms of several explanatory variables, including climate. I would like to determine which individual's nutrition outcome was most affected by the climate variable, after accounting for the effects of ...
I am currently writing some essay for the university in which I should give a quick overview over exact methods for independence testing on contingency tables, after writing down the stuff for Fisher's exact test I wanted to give an example for an unconditional test but I find almost nothing to the test itself ? Do you...
This question seems fundamental enough that I'm convinced it has been answered here somewhere, but I haven't found it. I understand that if the dependent variable in a regression is normally distributed, maximum likelihood and ordinary least squares produce the same parameter estimates. When the dependent variable is n...
This is cited very often when mentioning the curse of dimensionality and goes (righthand formula called relative contrast) $$ \lim_{d\rightarrow \infty} \text{var} \left(\frac{||X_d||_k}{E[||X_d||_k]} \right) = 0, \text{then}: \frac{D_{\max^{k}_{d}} - D_{\min^{k}_{d}}}{D_{\min^{k}_{d}}} \rightarrow 0$$ The result of t...
How do you correctly calculate the average percentage? Working with this test subject group: Customer Screens Clicked %Clicked A 100 50 0.5 B 125 16 0.128 C 100 73 0.73 D 150 24 0.16 Total 475 163 1.518 How should the average ...
I am using a bivariate GJR model using mGJR command "mgarchBEKK" package in R. The instruction from the package "mgarchBEKK" says I input first time series, second time series, and so on. I am trying to use the unexpected returns as my input and need coefficients from these. I thought I needed to input my pre-calcula...
Let $X_1, \dots, X_n \sim \mathcal{N}(\mu, \sigma^2)$ i.i.d. and write $X = (X_1, \dots, X_n)$. Define the point hypotheses $H_0 : \mu = 0$ and $H_1 : \mu = \mu_1$ for some fixed $\mu_1 > 0$. Define the test statistic $T(x) := \bar{x} \sqrt{n} / s(x)$. Then $T(X) \sim_{H_0} t(n-1)$ and $T(X) \sim_{H_1} t(n-1, \mu_1 \sq...
Given a 1x3 contingency table of the form $$[y_1,y_2,y_3]$$ where each $y_i$ represents a count on some random variable $$X\sim Multinomial(n, \pi_1,\pi_2,\pi_3)$$ We can estimate the vector of parameters $[\hat{\pi_1},\hat{\pi_2},\hat{\pi_3}]$ using a Bayesian Multinomial-Dirichlet conjugate model, and then get a sa...
Does anyone have any references for inventory optimization? By optimizing I mean going from supplier to the allocation to the store. I am doing research as to how to optimize any given inventory process. I have been looking at Stochastic processes, Bellman equations in Dynamic Programming and La Grange multipliers bu...
I'll try to explain my question since it's very theoretical. In general, using statistical inference we try to estimate parameters of the population based on a sample. Several theorems show that as our sample size is larger, our predictions are more accurate. However, from what I've seen, the weak/ strong law of large ...
Ward (1963) provides a commonly used criterion for hierarchical clustering. It's based on the following definition (p. 237): Given a set of ratings for 10 individuals, $\{2, 6, 5, 6, 2, 2, 2, 0, 0, 0\}$, a common practice is to use the mean value to represent all the scores rather than to consider individual scores. T...
Having data in two columns: > set.seed(1) > N = 1000 > XY = as.data.frame(matrix(cbind(round(runif(N),2), + round(runif(N),2)),N,2)) > colnames(XY) <- c('X','Y') I have divided the data into deciles in two dimensions: > colX_deciles = quantile(XY[,'X'], probs=seq(0,1,1/10)) > colY_decil...
Let $X$ be a $n\times (p+1)$ non-stochastic design matrix. OLS estimator is given by $$\hat{\beta} = (X'X)^{-1}X' y$$ Thus the variance of the estimator is $$\text{Var}\left( \hat{\beta}\right) = (X'X)^{-1} \sigma^2\, , $$ where $\text{Var}(y) = I_n \sigma^2$. My question is, why is it true that variance of estimator d...
The random effects estimator for panel data can be cast as a penalized verion of the "fixed-effects" estimator from econometrics. In both cases, the model is $$ y_{it} = \mathbf{D}_{i}\alpha_i + \mathbf{X}_{it}\beta + \epsilon $$ Where $\mathbf{D}_{i}$ is a matrix of dummies indicating the cross-sectional unit, and $\...
I have goal of measuring CTRs of several titles of an article on a website using Bayesian approach. In a simple setup, what one will do is to select Beta Prior (for example Uniform distribution) and run series of experiments until he gets credible intervals narrow enough to select proper title. Let's assume now that I...
I have a problem where I'm asked to predict a continuous variable m, and present predictions binned in the following way: m in 0-7 m in 8-16 m in 17-24 m in 25+ In my data, m is truncated at 25; m=25 might really represent an underlying reality of m=37 or 100 or 26 or whatever. Hence a bin for '25+'. It seems to me t...
Suppose I have a model, Y ~ X1, X2, ... The predictors (X1,X2..) are snooped on sample data S1. That is they are chosen, because the seem related to Y in sample. The model, Y ~ X1, X2, ... is then trained on a completely new data set, S2. So parameters, p1, p2... are estimated. My question is, suppose you used the p...
Let $X, Y, Z$ be three random variables such that $Z$ and $X$ are independent, and $Z$ and $Y$ are independent. Let $\rho(X,Y)$ be the Pearson correlation coefficient between $X$ and $Y$. It seems to me that $\rho(XZ, YZ) \geq \rho(X, Y)$, but I can't prove it. I tried using the identity $\rho(X,Y) = \frac{Cov(X,Y)}{\s...
Note: I should have flipped x and y in this example to be in line with typical notation. Sorry for any confusion. Consider the following data: set.seed(1839) ## generate u-shaped dependent variable x1 <- rgamma(100, .5, 1) x2 <- rgamma(100, .5, 1) x2_reversed <- max(x2) + min(x2) - x2 x <- c(x1, x2_reversed) hist(x) ...
I apply reinforcement learning to solve a specific problem(time-series prediction). Here is the training curve. The red one indicates the cumulative reward each episode, the blue one indicates the prediction error.. The network is trained in tensorflow, optimized by Adam. And the specific RL method is proximal policy ...
I'm having issues proving the following identity: $P(X ≥ j)$ = $P(Y ≤ t)$, where $X$~ Pois($\lambda$$t$) and $Y$ ~ Gamma($j$, $\lambda$) More specifically, I can prove it algebraically but not with a story. I am getting mixed up with the switching of j and t. Does anyone have a story proof for this? NOTE: A "proof" t...
Some statistical tests are robust and some are not. What exactly does robustness mean? Surprisingly, I couldn't find such a question on this site. Moreover, sometimes, robustness and powerfulness of a test are discussed together. And intuitively, I couldn't differentiate between the two concepts. What is a powerful tes...
This is a data analysis project we have at school where we try different ways to correct a simple linear regression model. My first attempt is just trying to transform the response variable by taking the square root of it. The second attempt is a weighted least square where the square is 1/fitted^2 where fitted is the ...
I am looking into running regression on a multivariate data set. I am looking into different ways to scale my data: standardization, L2 and L1 normalizations. In what case would you use which method? Thanks
When training an autoencoder on continuous data (that is, not binary), almost all papers/implementations I've seen minimize the $L_2$ reconstruction error between the feature vector $\mathbf{x}$ and the decoded sparse representation $\hat{\mathbf{x}}$, i.e., $\mathcal L = \sqrt{||\mathbf{x} - \hat{\mathbf{x}}||^2}$ (th...
Say I have a linear model $Y = a + bX$. $X$ represents subject gender. I've been asked to simulate $Y$, for different groups of subjects (in this example, males and females), using the fitted model estimates. The aim is to explore the distribution of this simulated data graphically. Does it make sense to do this? Wh...
Working through some homework problems for a Mathematical Statistics course and I'm having a hard time finding good examples in the text to explain some details. This particular problem is: $Y_1 ... Y_n \sim f_\theta(y) = \frac{6}{\theta^3} y (\theta-y)$ Find a constant a so that $\hat{\theta} = a\overline{Y}$ is unbi...
What is the advantage (if any) to fitting both a linear regression model to a dataset and running an ANOVA test if these are both ultimately identical?
I am given the model $Y_i=\alpha_0+\beta_0 X_i+\epsilon_0$, where $i=1,2,...,n$, $X_i$ are fixed numbers and $\epsilon \sim N(0, \sigma^2).$ I am also given that $\sigma^2$ and the parameters $(\alpha_0,\beta_0)$ for $E(Y_i)=\alpha_0+\beta_0 X_i$ are unknown. I have to estimate $(\alpha_0,\beta_0)$ using $(\alpha^*,\b...