instruction
stringlengths
9
38.7k
I am collecting a large amount of date/time statistics in a mysql database about random people connecting to my computer. Time is represented as oob_time_sec and is converted from_unix(oob_time_sec) to a string containing an actual date and time. I am collecting a variety of data including time,source port,destinatio...
Let's start assuming that I have cross-sectional data on $y$, $x_1$, $x_2$ (see below for $y$, $x_1$, $x_2$). I want to estimate the effect of variables $x_1$ and $x_2$ and their interaction ($x_3= x_1*x_2$) on variable $y$ using the control function approach, and highly likely $x_1$ and $x_2$ are endogenous. I have tw...
I would like to know how to interpret the density graph of Chi2... simply like, why do the graphs run like they run??? I just don't get it. And I really don't want to brabble along like hypothesizing-- I'd like to understand :) Thanks]1 Source: https://de.wikipedia.org/wiki/Chi-Quadrat-Verteilung
I am trying to figure out an equation from the following paper by Cadena and Kovak (2016): http://pubs.aeaweb.org/doi/pdfplus/10.1257/app.20140095 on pages 264 and 265. I don't think the context is necessarily important for the purposes here, but the math definitely is. They define a variable with a dot over it as: $\...
I am trying to do a hypothesis test but I do not know if I am doing the correct steps for this. I started to define the hypothesis for a binomial proportion $p$ as: H0: A test suite cannot detect more than 0.60 of bugs, $p\leq{0.6}$. H1: A test suite can detect more than 0.60 of bugs, $p>0.6$. So $p_0= 0.60$ and the ...
Let $B$ the lag operator and the following model $$(1-0.5B)(1-B)Y_t=\epsilon_t$$ where $\epsilon_t$ is white noise with $E[\epsilon_t]=0$ and $Var(\epsilon_t)=\sigma^2$. Given that $Y_{18}=33$,$Y_{19}=32$ and $Y_{20}=40$, find the forecasts $Y_{20}(k)$ for $k=1,2,3$. What I did is $$(1-1.5B+0.5B^2)Y_t=\epsilo...
I have panel data with a time-invariant variable across firms. However, when I tested the xtsum after setting the panel data, there was very little (8.66e-17) within variance. I checked over and over in the data, but it was invariant within every firm over the time period of 2005-2014. How do I deal with this? Is ther...
I have data that comes as "fully corrected" T-scores (i.e., adjusted for age, sex, SES, etc., to a standardized score with a population mean 50 and SD 10) for 20 participants at time 1 and time 2. How do I figure out if there was a significant change? Can I run a t-test on T-scores?
I've got a dataset with the following format. There's a binary outcome cancer/no cancer. Every doctor in the dataset has seen every patient and given an independent judgment on whether the patient has cancer or not. The doctors then give their confidence level out of 5 that their diagnosis is correct, and the confiden...
In the binary classification/prediction problem we have unknown labels $y\in\{0,1\}$, which we try to predict using an estimator $\hat{y}$. Commonly the performance of an estimator is summarized using a confusion matrix, and many related performance metrics. I have not done much work in this area, and reading about thi...
I am trying to use basic classification algorithms in Python using sklearn. Unfortunately my dependent variable in training data are probabilities of whether it will rain or not. I know how to do this if my dependent variable is "rain" or "sunny". But now it is a probability. Can I use sklearn classification algorithms...
I ran linear regression on my hotel reservation data and obtained the following model fit in R: Sales = 170.2 + 3.6*Days_left_to_checkIn + 7.6*Revenue - 9.6*Room_Rate -7.67*cancellation_price + 4.8*Number_of_cancelled_Room -8.9*Online_reputation_of_Hotel After this, I used the Optimize function to optimize the equation...
I compared two unequal sized samples, N1 = 230 and N2 = 120 using a Mann-Whitney U test. The U is shown to be large such as 2829. The p value is non-significant but I want to know if such large values of U is ok? Or is there something wrong there? I am using PAST software.
My task is to compare sets of lap times for two different makes of racing car at a given circuit, set by different groups of competent drivers (being competent eliminates very slow outliers). The lap times are measured down to 1/1000 second, so are essentially continuous. The goal is to be able to say that "Car 1 is on...
I want to apply deep learning approaches to NLP, I am wondering if Deep learning is better than Hidden Markov models? Both have hidden layers, except that NN works on weights and HMM works on probabilities.
data: https://www.dropbox.com/s/4ni96jmzn14sjl4/florep_normn4_p1.mat?dl=0 I attached n*4 data. so here each row has 4 values and each row considered as one state. I want to calculate transition probability matrix with this data. transition probability matrix calculated as what is probability of one state follows anot...
If $n\gg p$ ($n$ is the number of observations, $p$ is the number of dimensions), is it always OK to use categorical predictors with many levels in regression? Here $p$ is also pretty high as the categorical predictors have many levels, although $n$ far outnumbers $p$. Or is there a better way? This came up on one of t...
I fit this very simple model in pyStan. import pystan import numpy as np import matplotlib.pyplot as plt election_code = """ data { int<lower=0> n; // number of people int<lower=0> y; // number of people preferring candidate A } parameters { real<lower=0, upper=1> p; } model { p ~ beta(1, 1); // equiva...
New to statistical and machine learning and taking some online courses. I am trying to understand logistic regression in more details, and noticed a difference in the formula between the Andrew Ng course and the Stanford statistical learning course. Below I post a link image to both formulas. So the numerator is differ...
Can I take an average of the values I got from Shannon-Weaver index ? OR Is it wrong to take an average of some values that we get after applying natural logarithm (ln) in an equation, like Shannon-Weaver entropy ?
I have a dataset of users with gender and a value "fr" ([0-1]) which I hope can be used to predict the gender. I tried fitting this data but contrary to what I expect and what make sense it predicts a higher fr means lower chance of female. I assume I must be misunderstanding something, this is my first time using Log...
From a data set, I know the mean, P10, P50 and P90. How do I estimate the cumulative probability of the mean? The reason is that my data set may have extreme events, pushing the mean value to a high percentile. It always hold that P50 < mean < P90. So I would like to have a better estimate of the "percentile" of the ...
In LOOCV, in general, the model has to be fit n times (n being the number of observations). The test error is then estimated as a mean of all the individual test errors. Hastie and Tibshirani mention in section 5.1.2 of their book that with least squares linear or polynomial regression, the cost of LOOCV reduces to tha...
During a lesson at university, we ran this simulation to assess the fact that p-value distribution under alternative hypothesis is stochastically smaller than the uniform distribution. So suppose we want to make an F-test for a linear regression (joint nullity of parameters) n=10 p=3 beta=c(1,2,0) #beta_2=2,null hypoth...
I am doing homework for analysis of Network Flow Data, and as class is organised in self-study way ( we have only book as reference (Eric D. Kolaczyk Statistical Analysis of Network Data) ) I am stuck with solving the problem and have nobody to ask. We have the following log-likelihood: $$ l(\mu) = l(\alpha, \beta, \th...
I am currently working on my undergrad dissertation and I need to use VAR modelling. I vaguely understand what VAR, AR and MA are. What I am failing to understand is what "estimating a VAR" actually means. What does it imply? Does it mean finding the coefficient values?
I'm using Orange Canvas and I generated a scatter plot. I have the possibility to jitter continuous variables but I really don't know why would I do that. What's the idea behind jittering?
What is the name of a graphic like that? I need to know it to search for the correct functions in R or other statistic software.
Why we tend to design more deep neural network instead of shallow?
It seems that I still do not understand properly how ACF works My R calculations > a1 [1] 5.0 1.5 2.0 3.5 1.0 Autocovariances of series ‘a1’, by lag 0 1 2 3 4 2.140 -0.792 -0.294 0.784 -0.768 Then I have decided to change the first and the last entry > a1 [1] 1.0 1.5 2.0 3.5 5.0 > acf(a1,...
When importance sampling is applied to real world applications like robotics control? The target policy $\pi_{(a|s)}$ is not known. So how can we compute the sampling ratio $\pi_{(a_t|s_t)}/\mu{(a_t|s_t)}$? I don't quite understand how importance sampling works when the numerator of the sampling ratio is not known. Can...
Let $B$ the lag operator and $\{y_t\}$ the following model $$(1-0.6B^4)y_t=(1+0.2B)\epsilon_t$$ where $\epsilon_t\sim N(0,16)$. a) Is it a stationary process? b) Find the autocorrelation function of $\{y_t\}$ c)Let $y_{97}=196$, $y_{98}=195$, $y_{99}=198$ and $y_{100}=200$. Find the forecast three-steps ahead $y_{...
I try to modelise the following target variable from one of its covariable. I can't talk about what it represents. The color is the log1p of the number of points. I tried a GAM model but the variance is not coherent with such models. This is the sd of the target : Do you know which kind of model I could use in this ...
Give an approach to generate 50 elements between 1 to 1000 with negative skewness.
I am doing a weighted linear least squares fit to N measured values of the form $(x, y, dy)$, where $x$ is the independent variable, $y$ is the independent variable, and $dy$ is the error estimates for the independent variable. Following the linked wikipedia page, I am able to get the two fit parameters but not yet abl...
A good residual vs fitted plot has three characteristics: The residuals "bounce randomly" around the 0 line. This suggests that the assumption that the relationship is linear is reasonable. The residuals roughly form a "horizontal band" around the 0 line. This suggests that the variances of the error terms are equal....
I have calculated 5 beta factors (beta is defined as the ratio between covariance between two time series and the variance between the one series). When I used CCC with GJR dynamics I get this When calculating with DCC the picture looks very similar just without this extreme spikes of the blue line. I am searching fo...
I have created my own neural net which is using batch gradient descent. In other words, it trains on batches of examples all at once. My issue is trying to figure out when to stop the training of the batch. I'll try to make things as understandable as possible since there are so many options, but please comment if you ...
Is there any other reason for using Stochastic Gradient Descent than reducing time until convergence? In other words, does it ever make sense to try out SGD when regular Gradient Descent runs fairly quickly?
I have a set of biased coins $N$, where each coin has a different bias $\theta_i$ (probability of heads for $i$th coin is $\theta_i$). This bias is unknown and needs to be estimated. There are $K$ experts who independently from each other toss each coin exactly once, observe the value and report it. Alas, the experts a...
Let's say I have an array of values drawn from a normal distribution with mean 50 and standard deviation 10. Using python: d = np.random.normal(50,10,1000) I take a single random sample of size n = 10 from this distribution: s = np.random.choice(d, 10) What process do I go through to get the best estimate of the popu...
Suppose I have a set of 5 colors and 3 judges whose job is to choose their favorite color in the set. Each judge will be shown a screen with 2/5 colors and then another new pair of colors from the set and then a new pair until all pairs are exhausted. For each pair, the judge would click and choose one out of the two c...
How does the y term vanish/get cancelled ? Shouldn't it be this instead, h here is the Sigmoid function.
I'm currently working on a predictive modeling project. I have to predict $Y$ given variables $X_1,X_2,X_3$ and $X_4$ that are not necessarily independent. Our first idea was to propose a linear regression model defined as $$Y = \beta_0+\beta_1 X_1 + \beta_2 X_2+ \beta_3 X_3 + \beta_4 X_4.$$ In my dataset ($10^5$ obser...
Consider an unknown number of adult deer, $N$, which can be split into two groups - males, $M$, and females, $F$, where $N = F + M$. These adults were hunted during the year (a lethal form of sampling without replacement), with each group having its own individual-level probability of being killed by a hunter, $p_f$ an...
I'm trying to predict the numeric value (based on different variables) and for that I want to use different methods and compare these methods (having a variety of methods is more important than finding the absolute best one). My problem is, that I'm a beginner in the field of predictive analytics and only have some bas...
Sorry of a similar question has been asked before but I did not get my answer. I have some TV viewership (which I can not provide, I am sorry) that I am pretty sure has 3 periodicities: daily, weekly and yearly. I know this because I can see that in the graphs when I plot the viewership every half an hour throughout t...
I'm testing if one algorithm is faster than another. I can carry on increasing the sample and use the Welch t-test to see if one of them is faster to confidence level. My problem is when to stop and declare them equal. Is there a way to do this with a Welch t-test? I guess I may need to say they are equal if they are w...
Let $y_1,y_2,\dots,y_{10}$ be a time series generated by $$y_t=\delta+\epsilon_t+\theta\epsilon_{t-2}$$ where $\epsilon_t$ is white noise with $E[\epsilon_t]=0$, $Var(\epsilon_t)=\sigma^2$ and $\delta$, $\theta$ are unknown parameters. a) Propose a estimator for $\delta$ and find the variance of this estimator...
Suppose the following dataset: [3 4 3 4 6 12 12 7 8 9] [2 5 3 4 12 2 2 10 7 6] [3 4 3 4 5 11 10 7 8 9] These numbers are totally random. So this dataset, depicts three (3) players going to a casino with 10 tables, where they play a dice game. Each player throws his/her own dice (that might be biased) and then the play...
I know that there has been many questions regarding analysing likert scales  but I still have not found the easiest way to approach my analyse. I have done a survey with 100 participants that has 3 groups of questions based on the likert scale (1-7), with 8 questions in each group. Depending on the answers of the first...
Let's say a have a medical study and I need to describe a structure of a sample: 20% patients died, 10% of patients were cured and so on. I'm gonna count a confidence interval for each of these proportions. Do I have to consider the fact that there are more than one CI? Do I have to do a multiple testing correction? ...
I am learning about the feature selection using Python and SciKit learn. I came across the SelectKBest class, however it is unclear what kind of test is performed. Select features according to the k highest scores. http://scikit-learn.org/stable/modules/generated/sklearn.feature_selection.SelectKBest.html#sklearn.feat...
I was trying the cartpole environment from OpenAI gym. The cost function goes up with time and the reward function goes down. I have no clue why it happens and how to solve it. Top: Cost, bottom: Reward import numpy as np import tensorflow as tf import gym import matplotlib.pyplot as plt env = gym.make('CartPole-v0') ...
I have just started to study stats and I had a fairly basic question. Say I had three sets of measurements from three different groups. How do I run an ANOVA on the measurements. For example, Group | Temp measurement 1 | Temp measurement 2 | Temp measurement 3 | ---------------------------------------------------------...
Lets say I have 2 different normal distributions N1, N2. Then I make one observation X1. I would like to know which distribution (N1 or N2) it fits better and what probability/score it makes for each distribution. P.S. As I understand, I can estimate modulo of z score only. If score z =.1 for distribution N1 and z = ....
I am trying to give my student an advice about which application would be better to choose. The student is preparing for the public police officer test, and there're two options. This test is only based on the intelligence of applicant, not on the physical aspects of him. okay, the first option - 3000 people take the...
I have a complex distribution which I can numerically sample. I'd like to estimate a percentile (let's say 90%) using Monte-Carlo simulations. What I'm doing is: I run 1 million of independent simulations and I get 1 million of samples from the distribution. I order them in ascending order, and I take the one that it'...
I am working on a logistic regression model. The ratio of 1s to 0s in the train dataset is 7:2 (14,000 1s and 4,000 0s) The model performance is: Accuracy - 83% True Positive rate - 84% True Negative rate - 74% Area under the curve (ROC plot) is 0.78 Couple of questions: Do I have to treat the class imbalance in this ...
I have a python code that is using the top level model which combines the gesture and threshold model (HMM). then it evaluates it. actually my task is to implement spotting performance evaluation like precision and recall but actually I didn't understand how to implement them because as far as I understood for the pr...
I know that there are already some questions with the same title and my question is kind of similar but requires different derivation (I think). I am reading "The Elements of Statistical Learning" and I don't understand how they got to the expression in equation $(2.27)$: $$EPE(x_0) = E_{y_0 | x_0}E_\mathcal{T}(y_0 -\h...
I am comparing ROC AUC values for different feature selection methods. Some methods are deterministic and output the same AUC score every time and some methods are non-deterministic and output different scores every time. I would like to compare the non-deterministic methods with the deterministic ones. Say, I have an ...
Background (may be skipped): In training neural networks, usually stochastic gradient descent (SGD) is used: instead of computing the network's error on all members of the training set and updating the weights by gradient descent (which means waiting a long time before each weight update), use each time a minbatch of m...
The first time I used Random Forest, it gave me an accuracy of 81% with these parameters: n_estimators:10, max_features: sqrt(20), min_samples_split: 2 and min_samples_leaf: 1 Then I decided to optimize. 1) I did a random search. Accuracy: 89.76%, n_estimators: 10, max_features:8, min_samples_split:6, min_samples_le...
I am new to stats and have struggled to understand what is the "right continuous with left limits" property of cumulative distribution functions about (i.e. càdlàg). I did my research, but still have no intuition on why that is. Could anyone please shed some light on why are the cdfs càdlàg?
In the book Probabilistic Graphical Models from Koller and Friedmann they state on page 117: When characterizing the independencies in a Bayesian network, we provided two definitions: the local independencies (watch node is independent of its nodescendants given its parents), and the global indendencies induced by d-s...
I have 2 data sets. One data set called user data and the other called end song data. User data has the following information: gender of user (m or f) age range of user (7 different age ranges and some are nan) country of user (over 50 countries) account age in weeks user id End song data has the following informatio...
I am examining the correlation of the expression data of two genes MC1 and fs3. My hypothesis is that this correlation is happening only in 1 of the two groups that I have (group G and S). When I checked this using two different models: fitMs = lm(MC1 ~ fs3, family=gaussian, data=delta.CT.midguts) fitMg = lm(MC1 ~ fs3,...
Orthogonal polynomials in an univariate set of points are polynomials that produce values on that points in a way that its dot product and pairwise correlation are zero. R can produce orthogonal polynomials with function poly. The same function has a variant polym that produces orthogonal polynomials on a multivariate ...
This question arose from reading this post: T-test for non normal when N>50? In the response to this post, the author outlines really well that the assumption of normality with regard to the t-test is about the sampling distribution of the means and not the population distribution. However, parametric statistics are u...
Tensor methods give good results under low approximation error. (e.g. at 7min http://videolectures.net/iclr2016_anandkumar_nonconvex_learning/). I am wondering how do they do when the noise in the signal is high. Is it related to 'low approximation error'? Any introductory readings are much appreciated. Also, please fe...
I am trying to find a correlation between two binary variables. How can this be done using Stata? Also, if I use the Probit function, how do I analyze it?
I have the following model: $r_t=\beta_1+\beta_2\ div_t + \beta_3 \ result_t + u_t$ $r$ is the return of a stock index, $div$ are the dividend gains in percentage of the market price, $result$ are the results of the companies included in the stock index. Also: $r_t=\frac{p_t+ \ d_t-p_{t-1}}{p_{t-1}}=\frac{p_t+ \ d_t}{p...
I have a dataset with a binary dependent variable. There are 40,000 observations, from which 30,000 are from group 1 and 10,000 from group 2. I have a set of predictors. I tried running logistic regression, but ran into troubles, with the P-Values always being significant, due to the size of the data. I then tried ...
I understand that compressed sensing finds the sparsest solution to $$y = Ax$$ where $x \in \mathbb{R}^D$, $A \in \mathbb{R}^{k \times D}$, and $y \in \mathbb{R}^{k}$, $k << D$. In this way we can reconstruct $x$ (the original) using $y$ (the compression), reasonably fast. We say that $x$ is the sparsest solution. Spa...
I am currently working on a data set with 14 predictors, 4 of which are categorical (city, state, year, population) or at least not used in the numerical process, while the other 10 are doubles that talk about the crime in those areas. My hope is to use Kmeans clustering to detect any crime patterns in a city and year....
Hello everyone I am an MSc student in economics and one of my modules is Econometrics I which seems to be proof based or what I think could be considered proof-based. Before asking my question here I asked my professor but he's in vacation and don't know when he's going to answer Now, some of you may laugh at me but I ...
What is good applied book on stochastic processes? Specifically, a book that focuses on Wiener process and Brownian motion. PS: Preferably free
I have implemented my neural network and now I need to get Cost function and Error function after each epoch to visualize learning process. I don't know where is the place I can calculate cost function. Is it just in the output layer? I also have regularization. I am minimizing this function: $$E(w) + \frac{\lambda}{2}...
I'm using the HCRF Library for a sequence prediction task . For learning the model parameters, I'm using LBFGS, although there are options to use CG and BFGS. I notice that it take an awfully long time to converge. I've set the maximum number of iterations (currently) to 5000. If my interpretation of the HCRF library ...
I tried searching for this question on stats stack exchange and found Implementing linear regression with standardization but the answer was a little difficult to follow. I'm reading "Bayesian Analysis with Python" by Osvaldo Martin (great read btw) and in his hierarchical linear models section he often mean-centers t...
I have spent quite a bit of time on "well-behaved" Kalman filtering problems where, say in a case with 2 sensors, we observe outputs for both sensors at each time step. However, I am struggling to extend this to a slightly different case, where, say, we run a Kalman update() for each sensor as data comes in (i.e. Kalma...
I have seen many questions on CV that deal with central tendency. It seems to be a nebulous topic. Definitions include values of a distribution that are most common. For probability distributions and samples the quantities mean, mode and median are considered measures of central tendency. We see this term used in e...
I have to test a hypothesis of difference between two means. I have hospital discharges data. There are 36484846 discharges and mean length of stay is calculated from these number of discharges. I have also been given the standard errors of the data but the standard errors table mentions that the standard errors of t...
I am learning the basics of text mining. For finding the syntagmatic relations in the text like the word "technology" occurs whenever the word "information" occurs i.e co-occurrence of words "Information Technology". So one measure used for quantifying the relationship is using conditional entropy. $H(X_1 | X_2)$ i.e ...
Currently, I am working on projects in which I have to classify the restaurant review data. I am using multinomial Naive Bayes algorithm. I am bit confused that my problem is related to multiclass or multilabel. review example- Please treat your customer like customer, not dogs. .I will never go or advice anyone to go...
I don't really understand when it come to mixed model, how do you know when to use linear or nonlinear model? For example, when using R function lmer to build linear mixed model, my model may look like this: lmer( Y ~ X1 + X2 + X1*X2 + (1|Z) ) where $Y$ is the response (from a repeated measured data), $X_1$ and $X_2$ ...
I would like to know what the appropriate statistical method is, to compare B Coefficients between multinomial logit models in R. My dataset consist of stated preferences data that I obtained from a choice based conjoint experiment and has the so-called long shape. For my experiment there were two experimental conditio...
Entropy is the measure of randomness of a random variable. $$H(X) = -\sum_{x\in X}p(x)\log_{2}(p(x))$$ The units when using the $\log_{2}$ is bits i.e., how many bits required to store the information present in the random variable $X$. What will be the units of entropy when use other base for log i.e., natural log/log...
I'm reading this book - Generalized Additive Models by Simon Wood. On page 124, he defines basis for regression spline as (language is R) # R(x,z) for cubic spline on [0,1], where z is knot and x is where we evalulate the basis rk<-function(x,z){ ((z-0.5)^2-1/12)*((x-0.5)^2-1/12)/4- ((abs(x-z)-0.5)^4-(abs(x-z)-0.5)^2/...
I am reading Introduction to Probability by Joseph K. Blitzstein and Jessica Hwang, which states that Continuous r.v.s that are i.i.d have all possible ranking equally likely. In the proof, it is mentioned that $\forall\ i$ and $j$ with $i\neq j$, the probability of the tie $X_{i} = X_{j}$ is $0$ since $X_{i}$ and $...
My neural network can have all sorts of inputs from different datasets. For example, with digit recognition using the MNIST dataset, there are 784 inputs (each pixel 28x28) and each value is between 0-255 (single grayscale). However, this would produce math range errors with the sigmoid function because too larger nega...
Here are some data: (R language) set.seed(1234) dat <- data.frame( ins=sample(c(1,2,3,4,5,6,7,8), 100, replace=T), outs=sample(c(1,2,3,4,5,6,7,8), 100, replace=T) ) df <- ifelse(with(dat, ins-outs)>2, 3, ifelse(with(dat, ins-outs)< -2, -3, with(dat, ins-outs))) Th...
I have a dataset with three fixed effects and two random effects as subjects and items. I'm fitting linear mixed-effect models and comparing models with the log-likelihood ratio to find the best fit. The largest model that could converge with random slopes is this: m1 = lmer(RT ~ PHON*FRQ*SEM + (1+PHON+FRQ+SEM|Subject...
What algorithm should I use when I have a dependent variable as below: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 17, 21 I am trying to build a model where my dependent variable is numerical, but not continuous, and independent variables are combination of factor as well as numerical variables. Please let me know what alg...
Say we have a large set of possible input attributes (N) a large set of possible output attributes (M) Where N,M > 10000 A smallish (yet indefinite) subset of input attributes is assigned to every object. Based on this set we're supposed to generate a small subset of output attributes. Example Inputs: I_A I_B ... I...
I have a dataset that I'm trying to model using Cox proportional hazard models. The data include patient IDs and several attributes about the patients (including time till failure). Due to the nature of the data, a patient could fail and then fail again later several times. This means that some of the patients are repe...
In Bayesian method, a posterior can be either unimodal or multimodal. But, I cannot find any multimodal prior case yet. I wonder if it is possible, and there is any case that is using multimodal prior.
In my PhD course I have often heard of statistical methods called principal component analysis (PCA), linear discriminant analysis (LDA), propensity score matching (PSM), latent cluster analysis (LCA) etc. However, none of these methods are mentioned in standard (edit: econometrics) literature like Wooldridge or Greene...
I am reffering to the formula given at 2:18 in following video https://www.youtube.com/watch?v=6i7mqDJICzQ Can someone explain how he arrived from this: $\bar{X}=\frac{1}{N-1}\sum_{i=1}^Nx_{i}$ to: $E(\bar{X})=\frac{1}{N-1}\sum_{i=1}^NE(x_{i})$ The first formula is the average of values of $x_i$. The second formula sho...