instruction
stringlengths
9
38.7k
I was wondering whether its possible to run a test-retest reliability analysis, but with a different number of raters for the two time points. I have collected personality data and am looking at stability over time. For time 1 (T1), I have personality ratings for the participants from 17 raters. For T2 (10 years later)...
I use a probit model with longitudinal data including the same individuals (here customers) for 9 months. My dependant variable (event: does customer leave the company this month) is binary. The event may occur at most once so if this event occurs at a specific month, post observations of this customer are dropped. I ...
I found good features for classifying my data, but there are some noisy data that I cannot find any good features to exclude them, so I want to know if it is possible to have a class as 'others' (means the items in this class do not have any common properties but are different from other classes).
Background: I read this: google schools US government about gender pay gap. It derives from this google blog post by Eileen Naughton, VP of People Operations. She asserts that google is somehow "sharing" it top-level analysis publicly. Top-level is ambiguous, but when used in a corporate sense means a summary of a ...
For fixed $k$, the variables $(2k+1)\hat{f}_k(\lambda)$ are asymptotically distributed according the Gamma distribution with shape parameter $2k+1$ and mean $(2k+1)f_X(\lambda)$. It turns out that this suggests a confidence interval of the form \begin{align} \bigg(\frac{(4k+2)\hat{f}_k(\lambda)}{\chi^2_{4k+2,1-\alpha}}...
I run two types of regressions in R: 1) Using a panel probit of the following form glm_panel <- pglm(formula=Formula,data=Regress_Sample,na.action=na.exclude,family=binomial(probit),index=c("ID","Date"))) 2) A pooled probit of the follwing form glm_pooled <- glm(formula=Formula,data=Regress_Sample,na.action=na...
In the context of feature selection it is common to recode categorical variables with more than 2 categories into dummies. Selection methods such as elastic nets or lasso regression select the best predictors, whereby it is possible that only some dummies of each categorical variable are selected. I am wondering, if th...
I'm using R to produce a scatterplot and a residual (anscombe) plot. However I got something really weird. As you can see below. Here is the scatter plot: And here is the residual: As you can see they have the same exact shape, but they are just moved. Is this normal in a simple linear regression context? Code I am p...
Let us assume there are a set of estimates, $\lbrace \hat{\boldsymbol{\theta}}_i\rbrace_{i=1}^n$, all based on associated multivariate Normal distributions of the form $\mathcal{N}(\boldsymbol{\mu}_i,\Sigma_i)$. The goal is to find a new estimate $\hat{\boldsymbol{\theta}}_t$ based on the set of estimates and their dis...
Simple Linear Model: $x=\alpha t + \epsilon_t$ where $\epsilon_t$ ~iid $N(0,\sigma^2)$ with $E(x) = \alpha t$ and $Var(x)=\sigma^2$ AR(1): $X_t =\alpha X_{t-1} + \epsilon_t$ where $\epsilon_t$ ~iid $N(0,\sigma^2)$ with $E(x) = \alpha t$ and $Var(x)=t\sigma^2$ So a simple linear model is regarded as a deterministic mo...
I have an econometric problem. I have a firm level panel database. I want to see the impact of the reduction of tariffs on the wage bill at the firm level. So I regress wages on input tariff, output tariff, and a dummy if the firm is an exporting firm. I run this type of regression: xtreg log_wages lagged_sales input_...
Netflix used to base its suggestions on a user's submitted ratings of other movies/shows. This rating system had five stars. Now, Netflix allows users to like/dislike (thumbs-up/thumbs-down) movies/shows. They claim it's easier to rate movies. Wouldn't this 2-way classification be statistically less predictive than a...
I am preparing for an econometrics exam and I have reached a lecture on serial correlation which I do not seem to understand the proof. The text I am about to cite is in Wooldridge 6th edition "Introductory Econometrics". It goes like this ... He presented the following AR(1) model: $$y_t=\beta_0+\beta_1y_{t-1}+u_t$$ ...
In another thread, I asked how to obtain a confidence interval of the difference in probability of success between two groups from a logit model and @Weihuang Wong showed me how to do this with a parametric bootstrap. I would like to get the p-value that corresponds to this bootstrap. library(lme4) library(pbkrtest) # ...
I'm doing compositional data analysis on 'Baysite' dataset under 'compositions' package in r. Aim is to find nature of the relationship of its permeability to the mix of its four ingredients: A: short fibres, B: medium fibres, C: long fibres, D: binder and response variable is permeability. Under each column, p...
I recently embarked on a very ambitious project and I have to say it has turned out a lot better than I expected, I succeeded in coding from scratch a neural network that plays checkers at a very acceptable level. I have one problem though which prevents me from having a stronger AI, I guess some people would call it o...
If I have a hidden underlying state variable called x and a measurement variable called z, the linear Kalman filter allows me to update the predictions recursively as new measurements come in. If the hidden state variable is occasionally exposed (say for 30% of the measurements) of the measurements, what is the best wa...
That is, when is the $\underset{n \to \infty}{\lim} \max (X_i-X_{i-1})\rightarrow 0$, where $1<i\leq n$, and $X_i\geq X_{i-1}$ and when is the limit $\neq 0$? The question supposes that the maximum distance between sorted random samplings of some distribution can be made as small as one likes if that number of samples...
I'm beginning with deep learning, and I have a question whose answer I couldn't find, maybe I haven't searched properly. I have seen this answer, but it is still not clear what is the weight decay loss and how is it related to the loss function.
I know that the traditional independent t-test assumes homoscedasticity (i.e., equal variances across groups) and normality of the residuals. They are usually checked by using levene's test for homogeneity of variances, and the shapiro-wilk test and qqplots for the normality assumption. Which statistical assumptions do...
I have two distributions $X$ and $Y$ with $n_Y>n_X$ that I want to test if they are different. But within each sample, I have subgroups that have an effect on the variable in question. As an example, consider the screenshot below, where I have pairs within each sample, and these pairs interact with the variables in que...
I want to do an experiment at my company's recruiting events to see if giving attendees some of our products has a measurable impact on how many people actually apply for positions and/or get hired. I'm a statistics novice. How do I figure out what kind of sample size I would need? Also, if my company has historical da...
Say, I have a ARIMA(P,D,Q) process $x_t$, at the original frequency. This is unobservable. However, I observe the nonoverlapping periodic minimum of these series $m_q$, where for given period length $n$ $$m_q\equiv\min \{x_{qn},...,x_{(q+1)n-1}\}$$ I want to up sample to obtain more frequent series $m_d$ such that: $$m...
I have a question on interpreting coefficients in a regression model. To be specific, the regression model is as given below: $$y=a+b_1x_1+b_2x_2+b_3Z+b_4Zx_1+b_5Zx_2$$ where y= continuous dependent variable x1= independent variable all values are positive (min=0) x2= independent variable all values are negative...
I am trying to compute effect size (SS predictor / SS total) is it possible to have a REALLY small effect size (0.02 no not 0.2 but 0.02) but have the effect be statistically significant?
First off, I'm unfamiliar to statistics so bear with me. I am creating a web app that does some basic analysis on player stats. Right now I am trying to determine correlations (Pearson's correlation coefficient) and perform simple linear regression on the data. However, I am finding something interesting and I need s...
I am working with a dataset and am attempting to predict "gross" for a movie. All of the predictors that I have are continuous except for one: color. This categorical variable has two levels: "Black and White" and "Color". Does it make sense to include this categorical variable with all continuous variables such as ...
So this may seem like a strange question, but I have a good reason for it. Nonetheless, I’ll risk the XY problem and describe what I want to do without explaining why I want to do it. We know that the Beta distribution is the conjugate prior for the Bernoulli distribution, i.e., if $π \sim Beta(\alpha, \beta)$ and $x|π...
Note: there is a nearly identical question on Stack Overflow. However, I seem to be missing something... or maybe it's just that Python isn't my first language ;) For a neural network library, I've implemented a number of activation and cost functions along with their derivatives. Any combination of activation and cost...
I have several time series forecasts for a variable I'm working with, where I'm producing forecasts for a number of individual countries. In order to do the forecasting I am using the recently open-sourced Prophet algorithm from Facebook. There is value in forecasting at the level of individual countries, because then ...
I have just started working with xgboost in python am pleased how its working and have just begun optimizing my model. Without going into to much detail, my model uses XGBClassifier to predict a binary variable Y and extract numeric features X and rank them on F-score rank. I was curious to the effect of random seed wh...
Suppose I have $n$ data vector $X_1, ..., X_n$, where each $X_i$ is a length $p$ random vector. The sample covariance matrix is $S=\frac{1}{n-1}\sum_i (X_i-\bar{X})(X_i-\bar{X})^T$. If I want to compute the generalized variance, I can compute the determinant of $S$, i.e. $|S|$. In my actual use case where $p$ is fixed,...
I am doing an information retrieval task where the goal is to estimate the total number of positive documents as opposed to which document is positive or negative. My approach has been focusing on building a Logistic Regression classifier, using it to identify each document as "positive" or "negative" and then summing ...
I tried reading Wedderburn (1974) http://matt-wand.utsacademics.info/webStatSem/Wedderburn.pdf but I'm not wrapping my head around exactly what quasi-likelihood model is, in particular with generalized estimating equations. I understand that GEE extends GLM, but what is it about GEE that makes it quasi-like?
I was going through the derivation of the geometric margin for an SVM and I was confused about one step. We have $w^T(x^{(i)} - \gamma^{(i)}\frac{w}{\|w\|}) + b = 0$ We then solve for $\gamma$ $\gamma^{(i)} = \frac{w^Tx^{(i)}+b}{\|w\|}$. But I didn't understand how the $\frac{\|w\|}{w}$ became $\frac{1}{\|w\|}$. I kno...
if I want to test new document using lda model what are the inputs to the model and if there is a code in java that can help me ?
I know when a new measurement technique is developed, it's sensitivity and specificity is measured against a "gold standard." I'm wondering what the gold standard itself is measured against? How was its specificity and sensitivity determined? How does one decide to replace one "gold standard" with another that might ...
I'm watching a Datacamp video on Machine Learning tool box video with Caret's Zachary Dean Mayer. As he is introducing CV concept, the answer to a multiple choice question on the purpose of CV is (can I post this here?): Q. What is the advantage of cross-validation over a single train/test split? A. It gives you multi...
I realize that this is a relatively well published/understood concept, but I'm unfamiliar with how the conclusion is derived. Could someone ELI5 why when the data are perfectly separable, the MLE for a logistic regression $\hat{\beta} = \infty$?
This data concerns an experiment my startup ran. We measured users' Interpupillary distance (the distance between their pupils), and then asked them to rate how satisfied they felt utilizing our Virtual Reality headsets. Satisfaction was measured on a scale of 1 - 4 (1 = Very Dissatisfied, 4 = Very Satisfied). I had 5...
Why is the Pareto Distribution a better fit to the upper tail of Income data, and the Lognormal distribution a better fit to the lower tail? What happens if we fit the data the other way around? My argument is that if we truncate the hump of the lognormal distribution it should perform nicely as a fit for the upper tai...
A person can be free from Cystic Fibrosis, a carrier of a single gene, or have two genes. Those with two genes have the condition (let's assume they can't have children, though that's not strictly true). Carrier frequency is 1 in 25. The probability of a carrier parent passing on their carrier gene is 1 in 2. So the...
I have read about SVD, and understand it as being similar to what PCA does. For recommendation, let's say I have a matrix where rows are users and columns are items, and the entry $(i,j)$ in matrix is rating given by user $i$ to item $j$, say 1-5 (discrete). Naturally, lots of entries are missing. How to apply SVD in t...
As someone new to statistics, I had a debate with my supervisor today on the definition of population and sample in the following case. Suppose we track all new users (1,000 in total) that used an app during a period of time, and want to look at the completion rate at each milestone step. The data looks like this below...
I have 2-mixture weibull distrubution. And this distribution haver the portion parameter θ whose value should lie between (0,1). Therefore, I am assuming the prior distribution of θθ to be a beta distribution with hyper-priors α and β ie. P(θ|α,β)=Beta(α,β)P(θ|α,β)=Beta(α,β). Is there a way that I can assign some hyp...
I have some data that I have fitted to a Weibull distribution and now I want to calculate the goodness of fit. At first I tried using the Kolmogorov-Smirnov test but I have read that this doesn't give a valid result when the parameters that I consider for the distribution are obtained from the data. Then I considered ...
I have a 10 dimensional random vector that I'm modelling with GMMs. I want to estimate the best number of mixtures ($K$) for my data via the following method: Divide the data to train (90%) and test (10%) by 10-fold cross-validation (i.e. perform 10 experiments where each time a different part is the test). Fit GMMs w...
I'm reading Steven Scott's slides about BSTS R package (You can find them here: slides). At some point, when talking about including many regressors in the structural time series model he introduces the spike and slab priors of regression coefficients and says that they are better compared to penalized methods. Scott...
I have a question about nested mixed effect model. For example I have species A with different populations; these populations belong to two kinds of habitat types (with or without predators). So I have population nested within habitat type, and I measured the body size of species A. I want to know if habitat type have ...
Hastie et al. "The Elements of Statistical Learning" (2009) consider a data generating process $$ Y = f(X) + \varepsilon $$ with $\mathbb{E}(\varepsilon)=0$ and $\text{Var}(\varepsilon)=\sigma^2_{\varepsilon}$. They present the following bias-variance decomposition of the expected squared forecast error at point $x_0$ ...
I have a data for each minute as shown below Timestamp cpu-usage 2017-02-14 00:00:00 1.80000 2017-02-14 00:01:00 16.04000 2017-02-14 00:02:00 23.16000 2017-02-14 00:03:00 24.21400 2017-02-14 00:04:00 24.74100 2017-02-14 00:05:00 12.88767 I have created a graph for this data >plot(data.ts) I have even plot C...
I would like to ask a question regarding prediction based on logistic regression model. At my work we are trying to predict if an employee is going to leave in the next period. We want to utilize logistic regression for this. Let’s assume we have developed a model based on both continuous (e.g. salary, age etc ) and c...
I have conducted an experiment where several students assigned to two different groups had to solve 13 different puzzles each in two different sessions. Thus, we have 2 sessions, and two different tasks with 13 puzzles each are needed to be solved. For example: if subjects solve 1 puzzle within a task, they completed 1...
Is it possible or reasonable to use the coefficient of variation in a GAM / GLM as a weight to incorporate uncertainty into a response variable? I've got density estimates that have a CV value and need to model while taking into account the observation error.
Cross posting from math.stackexchange... Suppose that $X_1, ...X_n$ is a random sample of size $n$ drawn from an exponential distribution with unknown parameter $\theta$. Suppose that it is desired to test the hypotheses $H_0:\theta=\frac{1}{2}$ and $H_1:\theta>\frac{1}{2}$. Find the UMP test that specifies the rejecti...
From what I understand, a one layer network (no hidden layers) is exactly the same as logistic regression. Now suppose I have a function $f(x)$ that is exactly a logistic regression function with say d features. If I insist on running a neural network with say 3 layers with d/3 neurons each, is this a bad idea? That i...
I need to perform some research on the consequence of a singular Fisher Information matrix in statistical inference. I am confused about what kind of problems a singular Fisher Information matrix creates. I've received a paper 'Likelihood-based inference with singular information matrix' by Rotnitzky (2000) but this se...
The caret R package includes functions to compare models via their resampling distributions. Specifically, it prescribes fitting multiple models using the same resampling profiles (i.e. same versions of the training data) then conducting a paired t-test on the matched differences (see: http://topepo.github.io/caret/mo...
Background: One of my hypothesis' is that several (more than 2) groups (hereafter sub-groups) can be grouped, based on an interval-scaled variable, into two groups that, based on the same interval-scaled variable, are statistically different from each other. Assumption: All conditions for the use of a parametric proced...
In 'Likelihood-based inference with singular information matrix' (Rotnitzky) an example is given as follows: Suppose that $Y$ is normally distributed with mean $\beta$ and variance $\sigma^2$. There are available for study $n$ independent individuals but for each there is the possibility that the value of $Y$ cannot b...
I am trying to optimize my business. Please give me some suggestions. Problem Statement: I need to maximize my sales for the given total budget (total budget can vary from minimum to maximum bound based on fixed intervals) for example: let's say my minimum budget is 100K and maximum budget is 200K and the objective is ...
X=randn(2000,1) Gaussian random variable with mean = 0 and variance = 1 how to transform $X$ to $Y$ that is a Rayleigh distributed?
In my study, 210 subjects had to choose three out of nine options. I want to find out what several predictors (X1, X2, X3, X4) had on the selection of these options (Y), where: X1 and X2 are objective attributes of the options (i.e., independent from the subjects) X3 is a subjective attribute of the options (i.e., sp...
I'm struggling with multiple linear regression where all independent variables are factors. My data set contain 6 columns: Day; (Levels: Friday Monday Saturday Sunday Thursday Tuesday Wednesday) TVChannel; (Levels: BFMTV C8 CStar France 2 France 3 France 5 HD1 RMC decouverte TF1 TMC) DayPart; (Levels: Access Day Night ...
I am reading the Pattern Recognition and Machine Learning book and on page 445, it states that the covariance of the Bernoulli mixture distribution is $$Cov(\mathbf{x}) = \sum^K_{k=1} \pi_k (\Sigma_k + \mathbf{\mu}_k \mathbf{\mu}^T_k) - E(\mathbf{x})E(\mathbf{x})^T$$ Can someone show me mathematically how is this deri...
To sum up the question: is there some recommended set of datasets or should I put the list together myself from articles on robust estimators? If I wanted to test performance of different robust estimators, what are the various datasets that are frequently used? I am interested in both simulated and real datasets that ...
While studying about Forward Backward Algorithm, I came across the question below. I was unable to solve the question after trying for a lot of time. Consider a two-bit register. The register has four possible states: 00, 01, 10 and 11. Initially, at time 0, the contents of the register is chosen at random to be one of...
I was wondering if someone can help me think about this in a simple way : Say you have to fit a mixed effects model on body fat measurements using calipers. A person is measured using calipers on their abdomen, thigh, back and arm (ie four sites) for a total of 4 weeks. I understand that this is a simple mixed effect...
I want to test if the outcomes of different algorithms are different with statistical significance. I am testing 4 algorithms, each of which output 0 or 1 after every run. I am running these algorithms for multiple series of multiple runs, e.g. 2 series of 5 runs in this example. So, the output of each algorithms looks...
I'm performing a survey where people will rate some things from 1 to 10 based on their characteristics and I'm having trouble understanding which model to use and how to compile the data. For example lets say that you ask women to rate men based on some data like length, weight, income, children (some of the variables...
Does anyone know if there's a general expression for the jth slope coefficient from a multiple regression with K independent variables, in terms of variances and covariances? Obviously, the expressions in the case where K=1 and K=2 are straightforward, but is there a more general expression? And yes, I know how to find...
In the seminal paper on Latent Dirichlet Allocation, the authors state that, A lower perplexity score indicates better generalization performance. $perplexity(D_{test})=exp\Big\{-\frac{\sum_{d=1}^{M}log[p(\textbf{w}_d)]}{\sum_{d=1}^{M}N_d}\Big\}$ As I understand, perplexity is directly proportional to log-likelihood....
My goal: a measure/test/score/etc. that can give me a numerical value for how similar two datasets are. Let's say I have two datasets, each with a differing number of datapoints, where each datapoint is made up of an ID : value pair. The IDs are the same for the two datasets, but not all IDs are present in both dataset...
Suppose $G$ is a simple, undirected graph. The corresponding adjacency matrix, $A$ is binary, symmetric, and has all zeroes on the diagonal. By definition (Networks: An Introduction, M.E.J Newman), the clustering coefficient $C$ is given by $$C=\frac{6 \times \text{Number of Triangles}}{\text{Number of Paths of Lengt...
I have a data set of which contains the name of buyers. I want to plot a CDF that shows what percentage of buyers purchased up to what percentage of products. Something like bellow: , but I don't know how to do it with categorical data in R? Can some one please give me a clue?
I have a (relatively) large feature space - about 200 variables, and +1 million observations. My dependent variable is forward price return (raw, not log-transformed). I apply a PCA transform of the independent variables, and subsequently plot observations against the first two PC dimensions, with blue for positive fo...
I understand the mechanics of calculating the weights using the propensity scores $p(x_i)$: \begin{align} w_{i, j={\rm treat}} &= \frac{1}{p(x_i)} \\[5pt] w_{i, j={\rm control}} &= \frac{1}{1-p(x_i)} \end{align} and then applying the weights in a regression analysis, and that the weights serve to "control for" or d...
A study of daily default rates allows me to conclude that they are distributed as a normal one. Previously, I had to eliminate some of the effects of stationarity. I have following two questions: How can it be justified that if the daily default rate is normal, then the annual default rate will also follow a Normal dis...
I am wondering about the effect of an event $Z$ on an outcome $Y$. I assume $Z$ does not affect $Y$ except through the channel of an intermediate outcome $D$, that is endogenous to $Y$. To understand the effect of $Z$ on $D$, I run the following regression: $$ D = X'\beta + \sum_{\tau \neq -1} \delta_\tau Z_\tau + \e...
I have a problem which I am having a great deal of trouble deciding which t-test is best. For starters I am using JASP. The problem consist of deciding whether attractive people have more daughters or sons, it consist of 274 names and the number of sons and number of daughters. Now I know It will be a t-test but I am...
I am training a random forest model with following parameters. n_estimators=50,criterion='mse',max_depth=None,min_samples_split=2, min_samples_leaf=1,min_weight_fraction_leaf=0.0,max_features='auto',max_leaf_nodes=None,oob_score=True My data set consists of 5258 rows and columns contain a categ...
I am wondering if Python has any implementations of Multi-Seasonal Time Series like msts method in forecast library under R. So far, I have found only following packages for Time Series in Python: FBprophet TSFresh (feature engineering for TS) PyFlux Statsmodels TStoolbox timeseries (https://github.com/sealevelresea...
I am researching what effect transport infrastructure quality has on political stability. I would like to add an interactive term - population density. I wish to investigate the effect that improving transport infrastructure by 1 point has on political stability in countries with differing population densities. I comp...
I know this is duplicated but I think the question is a bit different and needs different answer. How can CDF be continuous and have derivative at each point that is not equal to zero but the probability at each point is zero? Why not say for example if you want to choose a real number between 0 and 1 that the probabl...
I would like to classify bird species from audio recordings. To do this, I am calculating a number of features in a frequency spectrum: I take certain block size (say, 2048 samples) and compute mel spectrum coefficients, spectral rolloff, LSF coefficients, spectral flux etc. - they make together a very good description...
I am doing an analysis abut bank's performance between two types of banks(conventional and islamic), I have 250 observations(5 years, 50 banks) which makes it a panel data. the problem is that when running the regression analysis for each type of bank, I get all the variables are insignificant. I tried pooled OLS, rand...
I am trying to find a proper way of defining a right or left skewed continuous (0...100) distribution for my priors in a simple linear regression. Furthermore, I expect to find some outliers in my data (most concentrated on the right or left, but some very bad performers) Do you know how may I specify this in WinBUGs?
I am interested in estimating the ratio of two regression coefficients: $$\beta=\frac{\beta_{Y|G}}{\beta_{X|G}}$$ The numerator is the linear regression coefficient of a variable G on Y and the denominator is the linear regression coefficient of a the same variable G on X. I estimated this parameter by simply taking th...
I'm in an intro to stats class right now, and have absolutely no idea what's going on. How would I solve the following problem using R? "Let x be a continuous random variable that has a normal distribution with a mean of 71 and a standard deviation of 15. Assuming n/N is less than or equal to 0.05, find the probability...
I have a dataset of about ~49K entries and 31 columns. I ran a grid search with 3-fold CV for finding the hyperparameters of Random Forest (using sci-kit learn). I then used the best estimator to fit on the train set, and predict on the test set. The results of ROC AUC score are as follows: CV: 0.705 Train: 0.836 Test:...
I understand it to mean that the model is bad at predicting individual data points but has established a firm trend (e.g. y goes up when x goes up).
This is the Normal Probability Plot I've obtained for some data: As you can see the points seem to osciallate, as in a period, around the line of slope 1 and passing through the origin. I've obtained this plot by trying to fit a simple linear regression model. Can I deduce from this peculiar behaviour (just as an Anza...
I am going to model a response variable with multiple outcomes, e.g. clear, cloudy, rainy, snowy, and windy, on a set of explanatory variables. However I cannot simply use multinomial regression (or similar models) because the response variable is actually not one variable, since it can be, for example clear and windy ...
I am new to the concept of supervised classification technique. I am trying to use an SVM classifier for classifying Sea Ice types in the Arctic using satellite image. All the tutorials I have read for performing a supervised SVM classification use data that comes with labels. For instance, if we have a table which is ...
I have run the following glmm: mod<-glmer(data=newdata, total_flr_vis ~ treatment + flr_num + (1|individual), family=poisson) and get this output from summary() Generalized linear mixed model fit by maximum likelihood (Laplace Approximation) ['glmerMod'] Family: poisson ( log ) Formula: total_flr_vis ~ treatment + flr...
A few months ago, I wrote an Android App. I am getting two key pieces of data from this app regarding its usage. The first metric, is number of downloads per day. The second metric, is basically, how many times the app is used in that day. Obviously there is a correlation. If I get 25 downloads in a day, there are...
Given a labeled dataset $X$ $(x_0, x_1, \dotsc, x_n)$ & $Y$ $(y_0, y_1, \dotsc, y_n)$ and learnt parameter $\hat{\theta}$ in linear regression model $y \sim \theta^{T} x$, what is the formula for calculating predictive variance of the expected value on a new data point? (e.g. $\hat{\theta} x_{new}$ ), given the labeled...
The heaviest tailed smooth normalizable continuous distributions that I am familiar with are those with fat power-law tails $\frac{1}{x^{1+\alpha}}$, e.g. a Pareto with $\alpha\rightarrow 0^+$ or a Student's t with $\nu\rightarrow 0^+$, but are there distributions with heavier tails? I am curious about what is the wor...
In "Neural architecture search with reinforcement learning" (https://arxiv.org/pdf/1611.01578.pdf), the authors use a recurrent neural network as the controller to generate hyperparameters, but do not describe the architecture of the controller in detail. How are the predictions for each hyperparameter made? The paper...
Consider a simple model for school graduation: there is school $i = 1,2,..., N$, each getting $y_i$ of $n_i$ students graduated. Assume $y_i\sim Binomial(n_i, \theta_i)$ where $\theta_i$ is the probability of graduation of each student at school $i$. What is the best way to model the relationship between the individual...