instruction
stringlengths
9
38.7k
any help to solve this is greatly appreciated: The research question is to assess the superiority of Treatment A for estimulate bone growth in comparison with Treatment B, the current standard. I'm planning to compare two treatments to estimulate bone growth in maxilary sinuses. For that, I will treat each patient wi...
During a class in my master's in computer science the professor asked us to come up with the best model to predict this particular data set. In it, we are given measurements of the weight and size of an abalone and need to predict the number of rings (an integer number) in its shell. Here an example of how the data loo...
We can simulate linear regression without randomness, which means we make $y=X\beta$ instead of $y=X\beta+\epsilon$. Then if we fit a linear model the coefficients will be identical to the "ground truth". Here is an example. set.seed(0) n <- 1e5 p <- 3 X <- matrix(rnorm(n*p), ncol=p) beta <- runif(p) # y <- X...
I want to build a model that quantifies the energy savings from a building retrofit project. For example a company is using a heating oil radiator system, that is meant to be replaced by a gas radiator system. I plan to model different factors that underly uncertainty, like oil price, gas price, energy use depending on...
Say you fit a model m. You then calculate the variogram. In R, this can e.g. be done by using plot.Variogram using the nlme package on an lme object. Say the plot indicates that yes, there is some correlation that disappears as the distance increases. Then you model different correlation structures: Exponential, Gaussi...
Assume that we have a random sample from the log-normal distribution and that we want to test $H_0: \tau=0$, where $\tau=\mu+\sigma^2/2$. I want to construct the Wald test for this purpose, and I know that the MLE of $\mu$ and $\sigma^2$ is $\frac{\sum\ln x} {n}$ and $\frac{\sum(\ln x-\hat{\mu})^2} {n}$, respectively. ...
I have a data set as follows: Response variable; proportion (i.e., 0.15, 0.94, 0.26) Predictor variables; both fixed, one continuous (400,700,1000,1300), one catagorical (2-levels of species) I am interested in the interaction between these two predictor variables. Code for the model used: glm_necrosis <- glm(necrosis ...
I was hoping someone knows whether the following statement is true or not. Suppose $F$ is a given normal distribution and $G$ is a distribution that has a given mean $\mu$ and variance $\sigma^2$ (but can otherwise be anything). Then, the distribution G that has the minimum KL distance from F is a normal distribution (...
Under what conditions do the Bayesian and frequentist hypothesis testing lead to the same conclusion (rejection or acceptance of a hypothesis)? For example, if the test concerns statistical independence between two categorical variables?
Consider three random variables $A,B,C$ and suppose I want to test $$ H_0: A\perp B \text{ and } A\perp C \text{ and } B\perp C $$ at $\alpha \%$ level. One way to proceed is to test $$ H^1_0: A\perp B $$ at $\frac{\alpha}{3} \%$ level. $$ H^2_0: A\perp C $$ at $\frac{\alpha}{3} \%$ level. $$ H^3_0: B\perp C $$ at $\f...
In Keras, I'm using something similar to the Keras IMDB example to build a topic modelling example. However, unlike the example, which has a single "positive/negative" classification, I have over a hundred topics which are not mutually exclusive. Every training example has a corresponding output which is a vector of ...
I would need a little clarification on this very basic issue. I'm trying to predict a continuous outcome based on a continuous predictor and a categorical variable with 3 levels using multiple linear regression. The fit tells me that when the continuous variable increases, also my dependent variable increases. Fair en...
I have a binary classifier. I can see it systematically makes errors on some types of samples that are not represented in the training set too well. Is it a good idea to get more samples of such data points, add them to the training set and retrain the model? My concern is that it will make training data differ from re...
We have a bag full of many balls (let's say n balls). We cannot see inside of the bag but we are certain that only a certain number of them are blue (let say r). If we want to randomly choose half of the total balls in the bag, what is the probability that we have selected all of the blue balls in our sample? Here is ...
How can I measure how good my PCA was ? Of course, it depends A LOT on context, or even maybe subjectivity sometimes. But what objective measures can I use to measure how good my PCA was? It doesn't make sense to use sum of squared distances from original data points to projected points, because by PCA'S definition, I ...
I conducted pre- and post- tests (each graded with a quantitative score) among three different grade levels in a middle school where each grade level had a different number of students (23, 20, and 21 respectively). What type of ANOVA test should I use?? My first thought was to use an "ANOVA: Two-Factor with Replicati...
In a single study, a researcher can obtain a relevant summary statistic, and construct an $x$% confidence interval for that summary statistic. Under the frequentist framework, this obtained confidence interval is thought of as being one of the infinitely many possible confidence intervals had the exact same study been ...
Roll a standard 4-sided die (with sides labelled 1, 2, 3, 4) and let $X$ be the number rolled. Then take a fair 8-sided die (with sides labelled $1,\ldots,8$) and roll it repeatedly until you roll a number strictly larger than $X$. Let $Y$ be the number of times you roll the 8-sided die, not including the last roll (i....
The hazard function for the Cox proportional hazard model is written as follows. $$\lambda(t|X_i) = \lambda_0(t)\exp(\beta_1X_{i1} + \cdots + \beta_pX_{ip}) = \lambda_0(t)\exp(X_i \cdot \beta)$$ I would like to know how come the time, $t$, is not really used in prediction (this link states that the hazards ratio does ...
The clustering co-efficient of my real network is zero. As a matter of fact, all the nodes of the network have a clustering coefficient of zero. I am trying to compare my network to an ensemble of random networks I created using the Erdos-Renyi algorithm with the same number of nodes and edges as my real network. It s...
I need to learn GMM (Generalized Method of Moments) estimator to replicate a paper for my Research Workshop class. I have a very limited background in Econometrics and Statistics. Where should I exactly start to study from?
Hi I am a beginner in probability, I have been following Harvard course Stat 110 class taught by Joseph Blitzstein on Youtube. I am having confusion with following problem. Scenario 1 Consider there are k distinguishable items and n distinguishable boxes, What are the ways in which you can put these k items in n boxes ...
Background In Introducing Monte Carlo Methods with R by Robert and Casella, in the discussion on "Sampling Importance Resampling", I'm confused by the following argument. Suppose $f$ and $g$ are pdfs. Sample $X_1 , X_2, \ldots, X_n \sim g$ and then define $X^* = X_i $ with probability $f(X_i)/(ng(X_i))$ (assume for no...
I am trying to learn a model $V=f(X,Y,Z)+\epsilon$ by looking at a series of observations $(v_1, x_1, y_1, z_1), (v_2, x_2, y_2, z_2) ..., , (v_n, x_n, y_n, z_n)$. I know the true $E(X)$, but because I don't have enough sample data or maybe I was too lucky or unlucky in collecting my samples so that the true $E(X)$ is ...
I'm in the process of trying to reimplement the MatchLSTM model as described in the paper here. I understand most of the paper except for their definition of the loss function. Am I correct to assume here that: $$p(\mathbf{a} | \mathbf{H^r}) = \prod_k\mathbf{\beta}_k$$ where: $$\beta_k = \begin{bmatrix}\beta_{k,1} & \...
I have an imbalanced data set of 300 observations with an adverse event rate of 8%. I have 4 features that I believe to be relevant based on expertise in the field. I am interested only in inference (not prediction) and assessing potential relevance of one of the features for protection against the adverse event, so I'...
I have a data set where some really bad data is drowning out other outliers. I am removing the extreme outliers first and then removing other outliers recursively until no more outliers are left. Is this good stats or am I doing something terrible? If this is valid what is the method called and is there a more sophisti...
As far as I know, we use a t-distribution if the sample size is small and the population is normally distributed. But if the population is normally distributed, then the sample mean is also normally distributed, so why not just use the z-distribution instead?
Suppose there are $N$ authors, and each author has writen $A_i$($i=1\dots N$) articles. I want to estimate the average level of the authors by scoring the articles. the level of author $i$ is defined as the mean of the quality score of all his articles, that is $X_i = \frac{1}{A_i}\sum_{j=1}^{A_i} Q_{ij}$, where $X_i$...
I ran an experiment where participants had to perform perceptual tasks and were assigned to 1 of 3 experimental conditions. In two of the three conditions, participants performed that task in groups of size 5. In the last condition, participants performed the task independently. I am trying to measure the effect of my ...
I have a question regarding multi-stage sampling. To keep it simple, let's consider two stage sampling. Let p1 be the probability of picking a cluster at stage 1 using the Bernoulli sampling process. Now, if sub-sampling at the second stage is invariant and independent, that is, if the same sampling design is chosen fo...
Sums and products of every pair of n numbers are given, however it is not known as which pair's sum and product they are. From this information we can find: a) Mean of the n numbers b)Variance of the n numbers c)Median of n numbers d)Range of the numbers I know that mean and variance can be found since we would be able...
I know that beta and sigma2 in Bayesian OLS could be simulated by standard distribution, i.e., sigma2 by inverse gamma and beta by normal. Instead of that, as a beginner, I try to practice MCMC methods directly on the OLS posterior with non-informative. That is, (X contains a column of 1 to account the intercept, is it...
I do have the following data TABLE A Population Size | Type | Value 340 | Control | .7+03[SD] 350 | Test | .015+.25[SD] Can I convert this to something like this? How ? TABLE B Population Size | Type | Value 340 | Control | 25 350 | Test | 33 If not how to...
I am trying to understand how performance evaluation works in LFW(Labeled Faces in the Wild) dataset http://vis-www.cs.umass.edu/lfw/. I am interested in task: pair-matching. However, as I dig deeper, I found myself confused. Here is a brief summary on evaluating pair-matching performance in LFW dataset: LFW dataset ...
I ran a vector autoregression (var) on a set of 64 companies with at least 6 data points in each company (lags 1, 2 ,3). I got the results of all 64 companies into one table and was able to calculate the mean coefficients but how can i compute a single z score and a p value for this table? I have individual z scores an...
I am using cross-sectional data with the following OLS model: $$ Y_{(i,j)} = \beta_{(0)} + \beta X_{(i)} + \beta X_{(i,j)} + \beta fixed\; effects_{(j-1)} + \varepsilon_{i,j} $$ where $i$ stands for individuals and $j$ stands for groups. In my application, I am trying to predict survey respondent's satisfaction with de...
I need help to predict future values for a time series (26 observations of consumer prices). This time series is not stationary (i.e I have increasing values of price). What is the best method knowing that I want to take the time series to it original scale at the end? For now, I run this code on stata. But, all my ...
Recently I have read a paper by Yann Dauphin et al. Identifying and attacking the saddle point problem in high-dimensional non-convex optimization, where they introduce an interesting descent algorithm called Saddle-Free Newton, which seems to be exactly tailored for neural network optimization and shouldn't suffer fro...
I am trying to predict the number of events happening with the next time window, given the current values of some input variables. I am trying to pick up a good family of distributions to describe this data. Given the nature of the problem, Poisson distribution seems like a good idea. When I plot histograms of data fo...
Im thinking of applying machine Learning algorithms on a data set of a Portfolio of credit contracts. The dataset is huge. I got around 22 Million contracts with around 100 Million data rows from a 2000 to 2015 (Panel Data) and up to 30 individual characteristic variables. With this data set I want to estimate the so ...
The title is self-explanatory. I was reading the openIntro statistics book by Diez et al., where this sort of rule of thumb is stated frequently. Where all this comes from?
Question in one sentence: Does somebody know how to determine good class weights for a random forest? Explanation: I am playing around with imbalanced datasets. I want to use the R package randomForest in order to train a model on a very skewed dataset with only little positive examples and many negative examples. I kn...
$\{1,2,3,3,4\}$ is a random sample from $X$ that has the following probability distribution: $$ \begin{align} & \Pr(X=1)=P(X=2)=\tfrac{1}{4} \\ & \Pr(X=3)=p \\ & \Pr(X=4)=\tfrac{1}{2}-p \end{align} $$ Find the Maximum likelihood estimate for $p$. I have solved many problems on finding MLE's and I know only the metho...
I have an array ($Y$) with a series of data to which I must fit the sum of some other arrays $(X_1,X_2,X_3)$. The expression is: $Y = c_1*X_1 + c_2*X_2 + c_3*X_3 + e$ I need to add some constraints (min and max values of $c_1$).
I have a normal distribution of a variable y~N(f(x),bc2x), where x is the IDV and b and c are some estimated parameters. So, the SD of y is given by bcx. Now I have a transformation of y: z=g(y,n)=ey(n+1)/(1+ey)/n, where n is another IDV. In this case, what is the best way to estimate the SD of z? Or, what is the "?" i...
I am having a basic doubt about the interpretation of the standard errors from the R output of a linear model in which you have a single explanatory categorical variable. Let's say we are using the iris dataset in R and we are modeling the relationship between Sepal.Length and Species, so we have the following: m1<-lm(...
Suppose I am fitting a Ridge and I decide to search a parameter space for c:[1,2,3]. I perform nested CV on my whole dataset and find the performance not so great. I therefore expand my search space to c:[0.5,1,1.5,2,2.5,3,3.5,4]. Can I just repeat nested CV now and expect a fair estimate of generalization error? If ...
I have a dataset with almost 300 cases and 8 variable. Some are binary, some are ordinal variables with 4 to 5 categories. I am performing a hierarchial cluster analysis and latent class analysis in R. For the former I use gower distance and hclust function in R. For the latent class analysis I use poLCA package. The c...
I have the following code in MATLAB, which I believe calculates the probability of a certain point (p) in the normal distribution. I know sigma (variance) and mu (mean) based on calculations. f = (1/sqrt(2 * pi * (sigma(x, y))^2)) * exp(-((p - mu(x, y))^2)/(2 * (sigma(x, y))^2)); if f >= P cloud = false; else ...
I'm doing a course on Neural Networks, which at some point states: Sampling the hidden representations regularizes the network by pushing the hidden representation to be binary during the forward pass which limits the modeling capacity of the network. What does Sampling the hidden representations mean?
I have a time series where a specific event occurs. I want to see if there is a significant difference in the mean pre- and post- event. The time series is first adjusted for seasonality, and then run as follows: Adjusted Values = B0 + B1*Pre/PostFlag + B2*OtherFactors I am arguing that you MUST have another regressor...
This is more of an experimental design question, but the implications are largely statistical, so I'd appreciate some help. I'm running an experiment with traditional experimental and control groups, and we're expecting ~120 participants. The challenge is that it's an educational intervention, and our participants come...
I know that the median value $(\text{Med})$ for a variable $X$ characterised by the contentious PDF function $f_X(x)$ can be calculated by finding $\text{Med}$ in: $\int^\text{Med}_{-\infty} dF_X(x) = \int^\text{Med}_{-\infty} f_X(x) dx = {1\over2}$ And $F(x)$ is the CDF of $X$. In other-words: $ \text{Med} = F^{-1}(1/...
Which sequential input problems are best suited for each? Does input dimensionality determine which is a better match? Are problems which require "longer memory" better suited for an LSTM RNN, while problems with cyclical input patterns (stock market, weather) more easily solved by an HMM? It seems like there is a lo...
Suppose LN(Y) is regressed on a matrix of binary variables and a continuous variable. How can the interactive effect of the continuous variable and each one of the binary variables be determined? For example, suppose I attempt to estimate the effect of rainfall in a geographic area on the amount of vegetation in that ...
I have a data set of motions of different particles and I am interested if the direction they are going through have 'directional' correlation to each other. The results I am getting are not 'very convincing/ not very good'. For example, correlations of around 0.40-0.60, but this is up for interpretation. It was sugge...
I have a non-count data with huge number of zeros in the target variable. I need to fit a model being a mixture of Dirac delta function and normal distribution parametrized by mean $X\beta$ and variance $\sigma^2$, with mixing proportion $\pi$, i.e. $$ y \sim \left\{ \begin{array}{cl} 0 & \text{ with probability }\pi ...
In spatial statistics and spatial econometrics, very commonly models like the following are employed. Let $Y$ represent the response, $X$ some predictors, $\beta$ the vector of coefficients, $\rho$ the spatial autocorrelaton and $W$ some spatial weight matrix, put together to a linear model with a spatial lag: $$Y=X\be...
I am looking for famous, historical, beautiful, impressive, or otherwise noteworthy visualizations based on statistical concepts. I think of examples along the lines of Florence Nightingale's diagram: but also "impressive" visualizations of key statistical concepts, such as more special ways to present something lik...
In a (including convolutional) neural network, suppose I get a fair accuracy (say, $\approx 80\%-90\%$) on my validation/test data, but extremely good accuracy ($\approx 100\%$) if I run it back on my training data. Does this necessarily mean that my network is overfitting, and I should apply some techniques (get more ...
I'm computing growth rate for some companies annually for 3 years using this formula, for each year: ((# customers year 2 - # customers year 1) / # customers year 1) * 100 The problem I'm running into, though, is that the # of customers is changing drastically for some companies...from starting a business, going from q...
LightGBM wiki says: LightGBM uses the histogram based algorithms, which bucketing continuous feature(attribute) values into discrete bins, to speed up training procedure and reduce memory usage. With this approach, if my continuous feature has a power distribution, most observations will fall into the first few bins,...
So I know if we have a normal likelihood $P(\mathbf{y|b}) = \mathcal{N}(\mathbf{y}|\mathbf{Gb}, \mathbf{\Sigma}_y)$ and a normal prior $P(\mathbf{b}|\mathbf{\theta}) = \mathcal{N}(\mathbf{b} | \mu_p, \mathbf{\Sigma}_p)$ specified by some hyperparameters $\theta$, then the marginal likelihood is given by $$ P(\mathbf{y}...
While performing model selection, the subset selection method suggested that the model with 6-variable is the best fit for the data set based on BIC. Whereas the MSE obtained by performing Cross Validation on the same data set suggests that the model with 11-variable give the best accuracy. Which one would perform well...
Given some quantity $z$ which takes on two values, either $1$ or $2$ with probabillity $P(1) = 0.3$. Consider that there is some other measurement $y$ which takes on values $U$ or $V$ where we have that if we obtain measurement $V$ then we know that the probability of getting $z=1$ is $0.5$. Assuming we made a measurem...
After estimating an OLS regression why would you multiply the coefficient by the standard deviation of the independent variable? Also, how is the interpretation of that different than the interpretation of the coefficient itself? Thanks.
I want to generate a time series where the individual variables form a Markov Chain and where the marginal distribution is a 2-parameter Gamma. How do I do this?
I have data set in which many parameters (a,b,c,d,y,z) are dependent on other parameter (x). When I plot these parameters against x I get a scatter plot. Please see figure for (a vs x) plot. I can use MATLAB to apply basic fit (cubic, quadratic) and get equation out of it but the fitted curve doesn't cover all possible...
I ran a logistic regression with categorical variables. The estimates and odds ratios are: Marital_Status- Estimate: .6605 Odds Ratio: 3.747 Professional Suffix: .5342 Odds Ratio: 2.911 I understand that the odds ratio says : "The odds of the dependent variable happening is 3.747 times higher if someone is married ...
My team made a survey about sexual behaviors among college students in China, and the result looks unreasonable1, so we suspect that many of the participants aren't serious when filling out the questionnaires. I'm considering adding audits in the questionnaires. For example, On average, how often do you have sex with ...
In the last part of this question, I have to conduct a hypothesis test for the difference of means of the two plants. H0 : uA - uB = 0 H1 : uA - uB > 0 So I consider the sampling distributions of A and B. But I don't know the variance of B. How should I proceed? The official answer has just assumed this variance t...
Is conducting repeated measures ANOVA appropriate on two different variables collected from the same subject (e.g. rated difficulty and response time)? So, there is no treatment, just a couple of measures collected from each participant. I've never seen such practice, and am pretty confused as whether I should refuse t...
Every month I send out an email to prospective customers. The client I use tracks the number of recipients and the percentage of the emails that were opened. Here's a sample, there's thousands of rows in the original. I want to know how to calculate which emails were engaged with (i.e. opened) the most. I don't want...
I am trying to decide which among for model selection criteria to use for a Bayesian nonparametric model. The candidates are: The L-criterion, as defined by Laud & Ibrahim (1995); Bayes factors; Bayesian Information Criterion; and Kullback-Leibler divergence. Is one criterion better than the others? Can you point me ...
I have the following problem: for each example $x^*$ I need to find all examples for which $x^*$ is in their k-nearest neighbourhood. $$Is\_neighbour\_of(x^*)=\{x: x^* \in kNN(x) \}$$ There is a lot of techniques, like kd-trees, to perform k-nearest neighbours search quickly, but my problem is a reverse version of that...
Suppose an experiment with a matched, cluster-randomized design. Units are nested in groups, groups are matched through pairwise matching via Mahalanobis distance, and a treatment is randomly assigned to one group within the matched pairs. It is often proposed to include only variables for the matched pairs in the mod...
I have this Gamma density function: $$\frac{1}{6\theta^8} x^3 \exp\Big[\frac{-1}{\theta^2}x\Big]$$ If I calculate the MSE I have that: $$\hat\theta=\frac{1}{2}\sqrt{\frac{1}{n}\sum{x_i}}$$ Now, if I calculate the Cramer Rao lower bound for this distribution, I have: \begin{align} \frac{\partial^2\log(f(x))}{\partial\th...
I am looking at school data, and wondering if school level disproportionate discipline affects the academic outcomes of students. The data I have are by student, with demographic information, an outcome binomial variable for whether the student met or exceeded standards in math and reading for that year, and then schoo...
I am trying to model interest rate data using ARIMA in order to estimate the effect of an external shock. However, when I run the ADF and KPSS tests, both conclude that stationarity is rejected. My understanding is that this means that there is a unit root in the series, and that any external shock will be persistent f...
When researching the reciprocity failure (a feature of film photography, otherwise more appropriate to https://photo.stackexchange.com/) I have run into a statistical issue. I have a datasheet for a photography film specifying the measured and effective exposure time for 5 exposure times. I found these times highly inc...
We are doing fire probability modeling using a Monte Carlo approach. Essentially, we use historical fire statistics and weather culled from a 50 year period to develop inputs to a fire model that then draws from these distributions to burn fires for a single season. We then run ~50,000-100,000 simulations and end up wi...
If you have two sampling designs $p_1(\cdot)$ and $p_2(\cdot)$ (defined on the same set of samples $\mathcal{S}$ from the same population $\mathcal{U}$) such that they induced the same inclusion probabilities of first and second-order, then $p_1(s) = p_2(s)$ for all sample $s$ in $\mathcal{S}$. Is this sentence true?
firstly thank you for taking the time for reading this and thank you even more if you can help me. So, i have an outcome variable with 11 options where 1 means that the person is totally fine and 11 means the person can't get out of bed. So i have to use this variable as an outcome variable in a regression analysis for...
This is a follow up to my question here. I've spent some time refining my data at work, and after deciding to go with the TBATS model, I'd like to generate a forecast value. Here's my code so far: > library(forecast) > tbats_model = tbats(=v01$Units, seasonal.periods = 12) > tbats_model TBATS(1, {0,0}, 0.876, {<12,4>}...
and thank you in advance for any suggestions. I have 20 binary symptoms (for example, anxiety yes/no, depression yes/no), and i have to do a cluster analysis for my research project in order to see which symptoms cluster together. However, i find this quite challenging, as i don't know which method of hierarchical clus...
I've done a classification with different machine learning method, as result i've the confusion matrix and the roc curve. To find best classification model, i'm looking for a method to combine the indicators computed with the confusion matrix, for example i've thought : score=efficiency+purity+completeness-contaminatio...
I came across Johnson's system of distributions. Here, I found the following figure: The author says: There is a unique Johnson distribution corresponding to each feasible combination of $\beta_1$ and $\beta_2$[, i.e. skewness and kurtosis]. My question is as follows. How can I draw a sample from a distribution tha...
I've been working on a stats package that includes Bayesian survival models. The user is allowed to write priors directly for all the parameters involved. However, I think it's pretty difficult for typical users to come up with priors for baseline parameters; if you were to ask me to put a prior distribution on the sha...
I am testing splitting phone calls to a service between two IVR menu's to determine which messaging is more effective. 80% to the main IVR menu (Group a) and 20% to an alternative (Group b). The data I have is Group a: Total calls, Transfer rate (10,000, 15%) and the same for group b (2000, 10%). I want to determine wh...
I am interested in the distribution of the sum of squared elements of a multinomial distribution. Specifically if: $$\vec X \sim \text{multinomial}(N,\vec p)$$ What is the distribution of: $$\sum_{i=1}^{k} X_i^2 $$ where k = dim(X). Put another way, if: $$\hat{\text{var}} X = \frac {\sum X_i^2}{k} - \frac{\left(\sum X_...
I was just wondering as to the specific scenarios one would use multivariate linear regression to predict an output against something like logistic regression with multiple classes. Would it be primarily based on how logistic regression offers the probabilities for an outcome? Which cases is each one the best in?
I mainly use spss modeler but I don't think it has the functionality to use a generated model to predict the group new unseen cases belong to (one of two). It seems like it would need to be done manually? I was wondering if it's possible in R? For instance, after splitting my data into training and test, I want to crea...
Another question from Introducing Monte Carlo Methods with R by Robert and Casella. Exercise 3.6 basically says the following. Suppose $f$ and $g$ are densities. Draw a random sample $X_1, \ldots, X_n \sim g$, then draw $(w_i \mid X_i) \sim Poisson( (f(X_i)/g(X_i) )$ for $i = 1, 2, \ldots, n$. Also define $X^*_i \...
I'm not sure why one would use ABC/Likelihood-free inference methods instead of standard Bayesian inference methods. Is this fundamentally a conceptual problem of mine? Are there any concrete examples which could elaborate on when to use the former as opposed to straightforward Bayesian inference?
In the original paper on Dropout by Srivastava, Hinton, Krizhevsky et al. (2014), the authors make this claim in the introduction: With unlimited computation, the best way to "regularize" a fixed-size model is to average the predictions of all possible settings of the paramaters, weighting each setting by its posterio...
I know machine learning algorithms are good at determining/predicting what an instance is (classification and such) or how instances are related. Are there any algorithms that, given classified training data and classified test data, can describe (in some way, maybe pointing out attributes) why an test instance is clas...
I am trying to predict the sales of a product whose past 5 years data is available to me and some independent variable are also available (like the target market size, marketing budget, price, etc.). So now I can't use ARIMA or some time series model nor can I simply use regression to predict the sales. How should I go...
I'm software engineer of an E-commerce company, facing a problem like this: An e-commerce shop sells their products daily and wants to know what conditions that might improve their sales. I'm building a AI sales predictor based on: Categorical variables week days (Mon, Tue, Wed,... Sun) day period in a month (<10, 10<...
Take a DGP $y_t = \alpha + \beta_1 * X_{1,t} * D_{[t\leq\bar{t}]} + \beta_2 * X_{1,t} * D_{[t\geq\bar{t}]} + \beta_3 * X_{2,t} * D_{[t\leq\bar{t_2}]} + \beta_4 * X_{2,t} * D_{[t\geq\bar{t_2}]} +\epsilon_t$. Suppose I estimate instead $y_t = \mu + \beta_5 * X_{1,t} * D_{[t\leq\bar{t}]} + \beta_6 * X_{1,t} * D_{[t\geq\ba...