instruction
stringlengths
9
38.7k
I have a question where I'm given $n$ independent random variables $(X_i)_{i=1}^n$, following a normal distribution with non-zero mean $\mathbb{E}(X_i)$ and constant common variance. It then asks to compute the MGF of the sum of squares of each of these $X_i$. How would I do this? I know that squaring $N(0,1)$ gives ch...
I am doing a multivariate regression analysis with 15 input features, 1 output feature with 1600 samples. I tried SVR, Random forest regressor, KNN, linear, poly and regularized regressions. After trying all, I end up in getting a R² value not more than 0.60. If I use neural net, is there a possibility to improve the...
I am doing some testing in recommender systems with extended epinions dataset, I implemented two models, model A give me RMSE of 0.5387 and MAE of 0.3111 and model B gave me RMSE of 0.5121 and MAE of 0.3244. I really don't know how should I interpret this degrade in MAE error, Can anyone help me about this?
I'm training convolutional neural network on imbalanced dataset, which has 9 classes. Number of classes in order is, 3000-500-500- ..... goes like this. Of course I'm not waiting %100 accuracy, but when I use class weight function from Scikit Learn and use it on Keras' Fit Function, it didn't get better than %60.80, ...
Imagine I have the very simple following data where I want to predict B based on A1 and A2: A1 A2 B 1 0 1 1 1 1 2 1 1 2 2 1 3 2 2 4 1 3 3 3 2 3 0 3 4 3 4 As a human it is very easy to understand that that B is equal to A1 shifted by A2. So to predict B I would need a lagged versio...
The treatment which I have applied to my samples did not cause much changes comparing to the control samples. I have prepared 4 replicates for the control and 4 replicates for a treatment. I would like to show that control replicates cluster together and treatment replicates together (if it is a case). The idea is to s...
Are my IV multicollinear? As I ran Pearson's correlation, it shows that they are not but as I ran multiple regression, v2csprtcpt_osp was not significant with my dv, v2xel_frefair
I have written from scratch (with Fortran) my own implementation of the Ward algorithm to perform HC. The output of the program consists of two elements: a vector with the distance after each step, and a square matrix in which each row shows the list of indices that indicates to which cluster the element belongs (when ...
While going through maximum liklihood estimator, I have read that "Let $x_1,…,x_n$ be iid samples from $f(x)$". Does it mean, I take out random samples from my population and these are my $x_1,...,x_n$? How do I select $n$? I have done using this: np.random.choice Does this python function generate iid samples? But I ...
When I use Lasso in a linear regression, how do I use the coefficients to predict the dependent score? E.g., if the dependent score ranges continuously form 0 to 100 and I have 4 non-zero coefficients in the model, but I have no constant, how do I use these coefficients to predict the absolute score? I'm not intereste...
Hopefully, the answer to this question is simple. Why do I get different results when I am using Anova from the car package and the aov_ez from the afex package? library(car) library(afex) set.seed(100) dv <- runif(30,90,110) factor_a <- factor(rep(c("a","b"),15)) factor_b <- factor(rep(c("f","m"),each=15)) id <-...
Question Is it correct to test the difference of a measurement between groups using generalized least squares? Example My data looks like this: I perform a gls in R, but I`m not sure if it is a correct method. Usually I dont have categorical variables and I just applied these functions because I always do. lsmeans(gls...
Spike sorting consists in clustering groups of signals based on their shapes. I have always seen convolutional neural networks (CNNs) being used for image classification. Nevertheless, in this case, the inputs that need to be classified would be one-dimensional. Would this be a problem for a CNN to achieve good results...
I am novice in an attempt to understand things better. As I imagine, when one uses stratified k-fold cross validation to decide the size of a decision tree, he: 1) randomly divides data into k equally sized and proportionally distributed data sets 2) aggregates all sets leaving one set out, thus making a train and te...
I always see things like "a library for research but not so much for production" What does that mean? What should i choose? Can i built a an advanced model (ex: to compete in image-net) using anyone of them?
I have a dataset and I'd like to to use it for classification purposes. There are some columns with NULL values that I need to impute. I want to impute with either median or mean but what I want to know if I should impute that with median/mean before spliting into train and test or I should first split into train and t...
Let $x_1, x_2, ... x_n$ be iid exponential(1). The objective is to show that $y_i=x_{(i)}-x_{(i-1)}$ are independently distributed as exponential random variables, where $x_{(i)}$ refers to the ith order stat and $y_1=x_{(1)}$ I know that $x_{(1)}$ is exponential(n) and that correspondingly, the other $x_{(i)}$ are mi...
I am working with a dataset (90000 observations) and have the following histogram plot (100 bins): The distribution looks normal. I see collections of 3-bins forming some kinds of count peaks. How can I interpret these 3-bins collections? Thanks.
I am working on a data set with majorly of categorical columns like Customer Name, Part_Name, Shop_ID etc. I tried encoding these columns and converting them into numerical columns using pd.get_dummies(). However, the categories in the data set are exhaustive. There is always a possibility of getting new categories in ...
I'm working on a a bivariate logistic regression. But I have an endogeneity problem and I want solve it through 2sls with 2 instrumental variables. My thought was to regress (OLS) in first stage and later a bilogit in second stage. Is this a suitable analysis? Is it a "forbidden regression"? What would be the best opt...
I have a dependent variable (rolling 12 month stock returns) that includes negative values. The returns are right skewed, so for a normal model without negatives, I would take the natural log. However, with the negatives, this is no longer possible. Due to this problem I added a constant such that constant = min(return...
How can I calculate the deviance for the factors and the null and saturated models with Hurdle models? I used the function hurdle() from the package pscl. The functions anova() or deviance() are not applicable.
Im running a univariate regression and the Y variable doesnt have a unit root, but the X does. The regression is: ExcessReturn_t = alpha + beta * (Dividend yield)_t-1 + e After running ADF on both of them, the DY has an unit root, but the excess return does not. How do I proceed to transform them? Do I need to take th...
When we use random forest for classification it constructs multiple trees and finally averages the output, in the case of classification it takes a majority vote among all the trees and assigns a class. In the case of predicting with random forest, the features are again passed down each tree and a majority vote is tak...
What is the difference between dynamic graphs and static graphs in deep learning libraries? Which one is faster? and when to use each one of them?
Suppose I have a mixture model: $$ p(x) = \sum_{j=1}^K\lambda_j\phi(x;\theta_j),\quad \lambda_j\geq 0,\sum_{j=1}^K\lambda_j = 1 $$ I understand what it means to sample a random variable $X\sim p$ - first you select $J\sim \text{Cat}(\boldsymbol{\lambda})$, then draw $X\vert j\sim \phi(x,\theta_j)$. However, I'm inte...
I am getting very weird results in my logistic regression analysis and am confused about why. Any help would be greatly appreciated. Here are the details: The illustration below represents the results of the 2nd Model in a logistic regression that includes 2 interaction terms. I am getting some very weird standard err...
How would you see if a difference is significant in a summary table with two independent categorical variables. Say I have Green Dogs, Red Dogs, Green Cats, and Red Cats and I have data about how many in each group ate within the last 4 hours. How do I know if being Green or Red is statistically significant? Being a Ca...
Previously, answers have been provided for questions about the standard errors and the covariance of beta coefficients for a dummy variable (linear) regression model with an intercept. In a single dummy variable regression with an intercept on observational data, how does one interpret the covariance between the two v...
I'm interested in learning how to develop a geographic approximation of some kind of epicenter based on the data from the John Snow Cholera outbreak. What statistical modeling could be used to solve such a problem without prior knowledge of where wells are located. As a general problem, you would have available the ...
I was trying to solve a question in one of the exercises in my class regarding bootstrap sampling but I am stuck with 0-idea how to move forward. The question is about bootstrapping and calculating the bootstrap and the out-of bootstrap estimates of the generalization error. There are 4 samples which are shown below; ...
I need help choosing between the binomial, negative binomial, and beta-binomial distributions and understanding the rationale of why I would choose one over the other, as well as understanding how it changes my interpretation of coefficients in the model. The most helpful links I've found have been: "Negative binomial ...
I understand that in CLT, we have $\sqrt{N} \left( \frac{\bar{X}_N - \mu}{\sigma} \right) \overset{d}\to N\left(0,1\right) \qquad (*)$ where $\bar{X}_N := \frac{1}{N} \sum_{i=1}^N X_i$ is the sample mean, and $\sqrt{N}$ inflates the $\frac{\bar{X}_N - \mu}{\sigma}$ to a $\mathcal{O}_p(1)$, while without the $\sqrt{N}$,...
As far as I know, Sieve Estimators consists in a broader class of estimators for a function g(x) lying in a space of functions G. The estimation basically consists in choosing the function that best approximates g(x) in a subspace Gn of G. This subspace Gn would grow as n grows. I know also that Series estimators are a...
I'm using scikit package with RandomForestClassifier, trying to predict binary or multi-lable classifications. I'm looking for a way to estimate the reliability of the model but really can't figure whether to use the Brier score or a Log Loss scorer. I understand that both can estimate the reliability of the probabilit...
I am new to ML, so please interpret this question accordingly... I am not sure if this is a common issue or not, or if I am thinking about this the right way. Here is what I am trying to do: I have a bunch of text fragments which I want to classify into certain topics. The text fragments are the titles of support tick...
I have a variable X that I first log (base e)-transformed say log_X and then standardized i.e., log_X_s = (log_X - mean(log_X))/sd(log_X). I'm trying to use log_X_s in a logistic regression model and have the following output: Wald chi2(1) = 7238.99 Log likelihood = -45419.208 Prob > chi...
I want to perform a GLMM on my data in R using lme4. I have one response variable measured on more than 250 individuals. For each of those individuals, a categorical variable, lets call it Cat (fixed effect), can take one of five values (A, B, C, D or E). Measurements were taken during ten independent experiments, whic...
I am running a model to understand the impact of different marketing spend on number of orders we generate. I am particularly interested in impact of TV spend. And the orders are particularly from channels like organic, direct and brand sem. I am not adding other channels cause there is a better one to one co-relation ...
So I have two interaction terms (ordinal x ordinal--treating each as continuous) I'm trying to test in a logistic regression model. Interaction 1 is significant--but not when Interaction 2 is present. Likewise, interaction 2 is significant--but not when interaction 1 is included. I thus went ahead and tried a 3-way int...
In short, I want to understand why using Laplacian distribution to model errors performs better than using Gaussian distribution to model errors. In detail, I am using Generalized normal distribution as error model for the following nonlinear regression problem. $y_i=\hat{y_i}+\epsilon_i$ $\epsilon\sim Gen(0,\sigma_i,...
$(X,Y)$ is uniform over the triangular region with vertices at $(0,0)$,$(\theta, 0)$, and $(0,\theta)$, $\theta$ is unknown. Let $(X_i,Y_i)$ be iid as $(X,Y)$. Find a one dimensional sufficient statistic $T$ for $\theta$, and prove it's sufficient. Find an unbiased estimate of $\hat{\theta}$ which is a function of $T$....
If we have two random Variables that are independent and identically distributed, their sum's moment generating function is simply their product. But does the trick work if they are not identically distributed? For example, if one is Normally distributed, and the other is Exponentially distributed, can we still multipl...
This question might look easy for you, but I am kind of new to econometrics and I need your advice. I am writing a paper where I am researching the relationship of Foreign Direct Investment (FDI) on Gross Domestic Product (GDP). To measure the relationship between FDI and GDP I am thinking to use multiple linear regres...
$X_1, X_2 \dots X_n$ represent independently observed Bernoulli random variables. $Z_1, Z_2, \dots Z_n$ are unobserved. $Z_i | \theta_i \sim N(\theta_i,1)$ $\theta_i \sim N(\epsilon, \sigma^2)$ $X_i = \begin{cases} 0 & Z_i \leq u \\ 1 & Z_i > u \end{cases}$ where $u$ is known. Show that the EM sequence for estimation ...
I am using a aerial dataset - (COWC), which is a large, high quality set of annotated cars from overhead imagery. The imagery has a resolution of 15 cm ground sample distance (GSD) that is approximately twice as good as the current best resolution of commercial satellite imagery (30 cm GSD for DigitalGlobe). Now I ne...
How to differentiate the distribution function of lognormal distribution with respect to its parameters? What solution will we get? I know if differentiate wrt variable, we will get density function.!
Where ever we see in the text books authors explicitly mentions zero mean white Gaussian noise and in practice also noise processes are zero mean.But if some process is Wide sense stationary but non zero mean can it still be white sense stationary.
I'd like using a stepwise linear regression model, where I include predictor by predictor according to their significance. However, in contrast to the standard procedure, I'd like to use a set of predictor variables, which are not all independent from each another. Intuitively, this is just like in linear algebra: (pr...
I'm trying to compute the exact second derivatives of log marginal likelihood of Gaussian Process for learning hyperparameters. The log marginal likelihood and its partial derivative are given in 5 chapter of GPML(http://www.gaussianprocess.org/gpml/chapters/RW5.pdf) as $$ \log p(\mathbf{y} | \mathbf{X}, \theta) = -\df...
(The title might not be very clear, any recommendation welcome) I have a $1 + n$ dimensional dataset. The first dimension measures a specific concept I am interested in and the $n$ remaining dimensions measure "other stuff". I would like to summarize the $n$ dimensions to 1-3 dimensions, ending up with 2-4 dimensions i...
Since I'm relatively new to regularized regressions, I'm concerned with the hughe differences lasso, ridge and elastic nets deliver. My data set has the following characteristics: panel data set: > 900.000 obs. and over 50 variables highly unbalances 2-5 variables are highly correlated. To select only a subset of th...
Say I have a continuous variable $C \sim N(0, 1)$, which was observed in a few points: obsC <- seq(-1.5, 1.5, by = 1) I also have a discrete variable $D \in \{0; 1\}$ as well as all the values for $\Pr(D = d | C = c)$: DcondC <- matrix(c(.1, .2, .3, .4, .9, .8, .7, .6), nrow = length(obsC), ncol = 2, ...
A researcher is investigating the effects of various doses of poison on two common varieties of cockroaches. She administers six different ranges of the poison dose to 20 cockroaches of each species, and records how many cockroaches die. The data (numbers of cockroaches killed out of 20) appear in the following table: ...
Trying to get the accuracy and the ROC curve with R (mlr package) I get the following results: Absolute confusion matrix: predicted true CHAV PMP -err.- CHAV 4 0 0 PMP 2 5 2 -err.- 2 0 2 predicted true CHAV PMP CHAV 1 0 t...
Likely a simple question, have searched for an answer I promise! I'm looking to do a Logistic regression for a dataset in which data is grouped by an ID, where there is one positive flag per group and the groups vary in size. A simple example would be a prediction of who is the heaviest in a group of individuals, given...
Background: I did something that I don't feel bad about, but I don't feel exactly right about. I would like to get enough pointing in the right direction to teach myself and feel solidly good about it. I discovered that both day of week and hour of day were driving variables in my training set when they shouldn't. I ...
Can I plot timeseries data in a histogram? I would like to see the distribution of a moving variable over time. I think there might be problems because in order to see a distribution for a variable you need to take independent observations. However, timeseries data will no doubt be correlated. EG I take a 100 day times...
I am trying to estimate the four parameters(theta1, theta2, lambda, p) distribution using MLE with the choice of parameters (theta2 = 1, p = 1). I have given my log likelihood function below. n*log(p*theta1*theta2) + (theta1-1)*sum(log(ppois(x, lambda)))+ (theta2-1)*sum(log(1-ppois(x,lambda)^theta1))+sum(log(...
I'm after a nice method to draw from a range of integers given known prior probabilities. Say I wanted an 80% chance of drawing 1, a 15% chance of drawing 2, and a 5% chance of drawing 3... I'm obviously thinking about this wrong, since neither [~,I] = max([.80 .15 .05] .* rand(1,3)) nor [~,I] = max([.80 .15 .05] + r...
Let's suppose that I have a quantity/parameter $\theta\in\Theta$ that I would like to make inferences about. I am able to draw data, say $X = (X_1,\ldots,X_n)$ I.I.D. from a distribution $P(x;\theta)$. I have a good handle on my data likelihood since it relies on trusted physics models. I'm also willing to admit that...
I have this huge knot in my head while writing my thesis atm. I am totally untalented when it comes to statistics, so it could be that my question is easy to answer for some of you. I did a Kruskal-Wallis test to test the influence of three different linking styles of a Facebook fan page on the engagement rate. I also ...
I've generated a big set of very high-dimensional embeddings (7300 words with 1700 dimensions each) from a QnA dataset. I'm trying to visualize them and what I do is to apply truncatedSVD (a PCA which centers the data) to obtain 50 dimensions and then pass those to TSNE in order to visualize them in 2d. The problem is...
I am looking at the relationship between two variables. Contrary to custom my given h0 is "there is a significant correlation" and my h1 is "there is no significant correlation". I calculated a bravais-pearson-coefficient of r(8) = .09, p = .806 which obviously would not indicate a significant correlation. How should ...
From what I understand, Hidden Markov Models are those that relate observable and unobservable states, whilst Mixture Markov Models are techniques to cluster sequences according to which Markov model out of a set of them is able to approximate it better. However, I am having trouble understanding boundaries between bot...
I´m developing a regression Model in Keras for R. I have only 377 observations wich is a huge problem. As predictors I want to use 1415 biological measuring points from about 60 genes with values between 0-1. I want to predict test values of a psychometrical test with values between 1-20. My Problem is that I get very ...
Let $X_n \sim \chi^2 (n)$ for all $n$. I would like to show when $n\to\infty$ $$\frac{X_n -n}{\sqrt{2n}}\to N(0,1)$$ where $N(0,1)$ is normal distribution. Could someone help me?
I have conducted a study with a within subject design where all participants undertook 4 conditions. I performed a Friedman Test on the ordinal data. I then used Wilcoxon Signed Rank test as a post-hoc test. I wanted to ask about the Bonferroni correction. These 4 conditions result in 6 possible pairwise comparisons f...
As in the paper I can understand SSD try to predict object locations and their relevant class scores from different feature maps . So for each layers there can be different predictions with respect to number of anchor(reference) boxes in different scale. So if one convolutional feature map has 5 reference boxes there...
How do you Difference a random walk process to make it stationary.
I can explain more if needed, but simply I have a strand of DNA and I want know some aggregate probability of the observed phenomenon being due to chance. As an example I have something like this: TCGA Each position can get changed to one of the three other available letters and the probability with which that happens...
Let $T$ be some random variable on a probability space $\Omega$. Then we have, for $x\in\Omega$: $$P(x) = P(x|T=T(x))P(T = T(x))$$ This equation is nonsense in an arbitrary probability space but informally it makes some kind of sense, and in a discrete space it's actually correct. Writing $g(t)=P(T=t)$ and $h(x)=P(x|T=...
I have a binary and balanced dataset. Do I have to see the AUROC as the different trade-offs between the TPR and the FPR and the accuracy as a result with a threshold of 0.5? When is accuracy a better metric than AUROC?
Has anyone ever come across an autoregressive-autogressive process. I am modelling positively correlated time-series of random effects in a fisheries model. They are integrated out via the Laplace approximation. An ar(1) process is attractive due to the simple calculations which can be optimized. However for some dat...
I have a data that where the outcome is the proportion of a species observed in an area by a machine on 2 separate days. Since the outcome is a proportion and does not include 0 or 1 I used a beta regression to fit the model. Temperature is used as an independent variable. Here is some toy R code: set.seed(1234) libra...
I was looking at this link: I have a dataset that has a proportion outcome (0,1). I wanted to do a beta regression using betareg BUT I also want to do a mixed model and currently I don't think there is a package for that so. Below is a toy dataset. I was going to use the logit transform (see here http://www.stata.com/...
I am trying to fit GP regression models to several thousand $x, y$ pairs independantly. I am using Python's sklearn implementation with a constant kernel plus an RBF kernel plus a white noise kernel. Usually it goes well and I get good results (red is the function, blue the GPR predictions): However sometimes it doesn...
Is there a good way of finding candidate distributions based on a set of qualitative characteristics? For instance, at the moment I am looking for a continuous univariate two-parameter distribution, bounded by zero on the left (i.e. with a scale and a shape parameter), with a single internal mode, for which the second...
IIUC, logistic regression can be thought of as performing linear regression on $ \log(\frac{p}{1-p}) $. When that's the case, it's understandable why $\frac{1}{1+e^{-w^Tx}}$ represents the probability (p) of success. What I'm missing is why it makes sense to view the points ($x_i$,$y_i$) as ($x_i$, $\log(\frac{p_i}{1-p...
I wish to perform a binary classification task on a dataset I have gathered, with unbalanced classes (~55% for one class). The relation/correspondence between the features and the classes I deal with is not established in the literature yet, so a model which is not completely useless is of some value. Since the data is...
So formula for calculating the number of zero padding according to cs231n blog is : P = (F-1)/2 where P is number of zero padding ,F is the filter size and the number of stride is 1. But I don't understand what happens if the number of strides is not 1 or if F is an even number. Let's consider the number of strides ...
I am facing a problem which I'm not sure has a specific answer - theproblem of distributed regression model building: I've got some k stations, each having the same data structure (that is, all of them have the same columns but of course different data) and each able to compute it's own regression model. What I'm looki...
Here is my R code to get familiarised with Pearson's correlation. I generate values of $X$ from 1 to 100, then find the correlation between $X$ and $X^2$: x=1:100 y=x for(i in 1:100) {y[i]=x[i]*x[i]} cor.test(x,y, type="pearson") I get this result : Pearson's product-moment correlation data: x and y t = 38.668, df =...
Say I have two or more matrices. The number of rows and columns are same across matrices. But the matrices are not necessarily square. Matrix1 a b c 1 0.911 0.067 0.023 2 0.891 0.089 0.019 3 0.044 0.931 0.025 4 0.919 0.058 0.023 Matrix2 a b c 1 ...
I am implementing CFA at the moment and looking at the residuals of model to determine how to improve the model fit When i take the raw scores from the model, i get residuals for everything When i take a look at the standardized/z-score residuals, I can see NA between some of the questions which have large residuals in...
I'm currently developing an app which aggregates news and highlights objective statements and facts from it. This then puts them to vote by the public. Firstly, someone must cite the fact elsewhere to either prove, or disprove it. Then other members are allowed to vote this citation up or down to support it. Multiple c...
I know what degrees of freedom are, the definition that is and it's application. I know it's intuition as well. However as far as t-distributions go, can anyone explain what was the need of including degrees of freedom in the t-table? Can anyone explain the actual intuition of degrees of freedom in inference statistics...
I have a basic question as I am new to Data Science. I have a typical problem where I need to estimate the effect of an intervention between experimental and control groups. I read propensity matching is the way to go to compare 'like' candidates and people use Logistic regression (LR) to calculate propensity scores. M...
Is it conceptually possible for multiple variables of lower level measurement (i.e. ordinal data) to be combined to i.e. interval data OR is the level of measurement always preserved? If asked, I would argue that the former is true. Example: The ranks within an organization is as follows: 1 = sales assistant, 2 = juni...
I have been reading the Reinforcement learning: An Introduction by Sutton and Barto (2012) and I have come across the batch learning method. Unfortunately, this method is not very well described in the book and scientific articles regarding batch learning are yet too advanced for me. Could anyone please elaborate on th...
I am confused between the two terms " probability generating function" and "moment generating function." How do those terms differ?
when plotting the distribution of the obtained residuals (from a regression) in stata to see if they fit a normal distribution, I get following result: This seemed very odd to me at first but when I investigated it further, I found following reasons for this behavior: 1) The dependent variable can only take on the val...
I am not an expert and I need a help in these commands: lm (growth ~ tannin , data = tanninData) model <- lm (growth~tannin , data = tanninData) class ( model ) summary ( model) The question: Write down the regression equation using the output from summary(model)?
I got some articles/books about the cubic splines. However, I didn't see anyone mentioning the bivariate case of cubic spline much in detail. My question is how to write the cubic spline in a bivariate case with knots? I am trying to perform the multiple linear regression with two regressors x and y, and 1 predicted va...
I am trying to initialize the Hidden Layers of my Convolutional Neural Network with 7 hidden layers, all with ELU Activation with Sigmoid Activation at the end for binary classification. For Initialization of hidden layers, I've followed He Initialization by equating the standard deviation to sqrt(2.0/n) where n is th...
I am using Python 3, and tried to import Cross_validate. However there's always this error showing the importaiton is not successful. I am using sklearn 0.18 from sklearn.model_selection import cross_validate and got this error ImportError "cannot import name 'cross_validate'" Am I missing anything? (My sklearn li...
I have data like the following: a b c --- --- --- 0 1 6 <- replicate 1, trial 1 1 1 5 0 0 7 0 1 6 0 0 7 1 5 10 <- replicate 2, trial 1 0 4 12 0 5 11 2 4 10 2 3 11 2 5 9 ... where each row is an observation mode...
I've been looking at Gabor Lugosi's wonderful notes on concentration of measure inequalities. On page 7 of the notes the exercise asks you to show that $$ min_q\mathbb{E}(X^q)t^{-q} \leq inf_{s\geq 0}\mathbb{E}(e^{s(X-t)})$$. In other words the best moment bound (left hand side) always is at least as good as the best ...
How do we go about calculating a posterior with a prior given N data points of the form greater than X or less than Y, when those data points are noisy (that is, greater than X can be incorrect)? Example: We start with the posterior normal distribution of variable X with mean 1 and variance 1. We do series of tests wit...
The author of the book: Practical Time Series Forecasting with R: A Hands-On Guide suggests fitting a second level forecasting model to the residuals of a standard (first level) regression model in order to deal with auto regression via standard regression methods (auto regression violates one of standard regression's ...