instruction stringlengths 9 38.7k |
|---|
What is the difference between neural network, Bayesian network, decision tree and Petri nets, even though they are all graphical models and visually depict cause-effect relationship.
|
The Wikipedia page lists some scenarios:
While both measures are useful, they have different statistical uses.
In medical research, the odds ratio is commonly used for case-control
studies, as odds, but not probabilities, are usually estimated.
Relative risk is commonly used in randomized controlled trials and
... |
When using a model that assumes a specific distribution of data, I get confused about how seriously I need to check for the assumption. For example, if we use some statistical test (e.g., based on p-value) for the validation, I think we should almost always reject null if sample size is large. For example, no matter ho... |
Considering that we want to use optimize() on the interval [0,1] how can I write an R code for finding the value of β that produces the minimum forecast error without using external packages like forecast?
For simplicity assume that:
I want to use the following package:
> require(datasets)
> str(nhtemp)
Time-Series... |
I am trying to do a multivariable logistic regression and using a normal binomial logistic regression, using binomial variable X (coded 0/1) and Y (4 sub-categories). Unfortunately, the reference category was shown to be not significant. Should I then reject the null hypothesis for this variable?
Cat., Sig., Exp(B)... |
I am trying to do confirmatory factor analysis on data that is coded binary (0 no, 1 yes). UCLA suggests using a tetrachoric correlation matrix, which,
however, assumes that binary variables reflect underlying continuous variables. Is there a way to relax this assumption and use logistic procedures
instead? I am using ... |
I'm working on samples that I'm trying to fit into log-normal distributions. In some cases, Kolmogorov-Smirnov test statistics is something like D = 0.0056 with an associated p-value of 0. Hence, my sample shows very small departures from a theoretical log-normal distribution, but looking at the p-value I reject the nu... |
Prediction is the ability to statistically foretell the occurrence of future events by learning from historical data.
In all the cases, if we have a large enough sample of data on how people behaved in the past, we can predict their behaviors with a reasonable degree of confidence. But, how can we predict events that a... |
Given a transition matrix, starting probability, means and covariances
Is it possible to predict the most likely observed sequence for a given state sequence using the above details? If yes, how?
Thanks in advance.
|
I have a data set of continuous proportions which depend on a fixed-effect factor, e.g.:
df <- data.frame(
x = c(0.1,0.2,0.12,0.3,0.2,0.35,0.5,0.3,0.45,0.6,0.54,0.77),
f = as.factor(c(rep("A", 6), rep("B", 6)))
)
I'm looking for a method to remove the effect of the factor, e.g. if the residuals were normally dis... |
I have been trying to do a simple linear regression of x3=Weeks Claimed against x4=Weeks compensated. I am having problems because my residual standard error is very high and also my residuals are not homoscedastic. If anyone could provide some guidance on how to fix these problems I would really appreciate it.
Here ... |
Logistic regression can help to predict a value whether it would happen or no. I'd like to know how can I do that using sklearn.
I'd like to know the probability if this event would happen or no.
I have a huge dataset (20K lines and 20 columns). My data has 19 columns as predictors and last column as target (values bet... |
I am looking at the link between inflation and insolvencies for an econometrics project. I have the raw quarterly insolvency data and raw quarterly CPI data for the UK (roughly 100 samples) from 1988-2013.
Both of these are non-stationary at the 5%, and both are I(1) on checking the raw data. I am using 5% levels for a... |
Hoping you can help me understand the probability density function for the exponential distribution.
Given that the distribution's PDF is described as follows when x > 0:
$$\lambda e^{-\lambda x}$$
Why do we multiply by λ? Sure I'm missing something basic here, but seems that if we're modeling time to event, using e an... |
Suppose I have data of this format:
customer, country, location, unit price, traffic, etc. (more nominal/ordinal variables)
I want to know how country affects unit price, how do I go about doing this using
a. some measures of dependence
b. regression models
I'm totally confused as to how i could represent this data fo... |
Consider the log likelihood of a mixture of Gaussians:
$$l(S_n; \theta) = \sum^n_{t=1}\log f(x^{(t)}|\theta) = \sum^n_{t=1}\log\left\{\sum^k_{i=1}p_i f(x^{(t)}|\mu^{(i)}, \sigma^2_i)\right\}$$
I was wondering why it was computationally hard to maximize that equation directly? I was looking for either a clear solid intu... |
I am currently doing a self-study question that gave me the following scenario:
There are 10 marbles in a jar. 7 marbles are red while 3 are blue. John wants to pick 4 marbles out to give his friend. What is the probability that at least 2 marbles are blue?
My attempt to this answer was simple taking (0.3)(0.3)(0.7)(0.... |
Based on the following relationship between Matthew's Correlation Coefficient (MCC) and Chi Square:
(MCC is the Pearson product-moment Correlation Coefficient)
Is it possible to conclude that:
By having:
Imbalanced Binary Classification Problem, N = 1000, and χ² >= 3.85 (p < 0.05, df = 1)
Following MCC is significant... |
I'm computing a weighted correlation coefficient, using the method described here.
I'd like to compute a p-value for the resulting r coefficient. How can I do this correctly, given that my r was computed using weights? Naturally, the standard formula for p-value of r (e.g., here) does not take weights into account, and... |
I have created a model of American cities with a dichotomous Y variable using logistic regression. I have theoretical reasons to believe that the model will differ significantly between larger and smaller cities. I have shown this using arbitrary breakpoints, but wanted to know if a segmented (piecewise) regression str... |
First picture is the question and its answer key:
The second picture is my solution:
I know that $S^2=\frac{\sum(x_i-\bar x)^2}{n-1}$
But in the answer key, $s^2$ cannot be found in that way. I guess, there is a mistake here. Or, ıs there a rule that I dont know?
Please clarify this. Thank you.
|
I am confused and struggling to read this simple crosstabs.
I am trying to create a profile of downloaders. One of the demographics I am looking at is age. Should I be looking at the percentage within Age or percentage within Type of downloader?
For example, Mixed downloaders are most likely to be 18-21 (50%)? Or sho... |
I have a huge matrix (10*10k). I'd like to know if there is a way to find similarities between lines.
Let's give an example of matrix: 4*5
col1 col2 col3 col4
0 0 1 0
2 3 4 5
2 3 2 3
0 0.1 1 0
0 0 1 0
I'd like to know if there is a statistical theory to dete... |
A friend of mine needs to estimate a non-linear GMM on Panel data. As I have checked, the softwares for Panel GMM only estimate linear forms (STATA gmm, xtabond, ...; R pgmm from plm package). How can I do nonlinear Dynamic Panel GMM estimation?
|
I have a ordinal dependendent variable, easiness, that ranges from 1 (not easy) to 5 (very easy). Increases in the values of the independent factors are associated with an increased easiness rating.
Two of my independent variables (condA and condB) are categorical, each with 2 levels, and 2 (abilityA, abilityB) are co... |
I have a data set that is very large.
The attributes (columns) are several thousand. Some are sparse others are not. Some are ordinal, others interval, nominal or ratio.
The row size is 10s of millions of rows.
The data set is evolving -- that is the business is not sure which rows should finally end up in the set -- s... |
I like to tinker in my spare time with clustering algorithms.
Over the past few days I was attempting to tinker with a clustering algorithm using density fields of the data.
I tried several variations and I was surprised that my algorithms were reasonably stable and robust.
I want to continue exploring this avenue but ... |
I have generated a set of ground displacements at certain points using two different methods. I am now trying to find a good method of statistical analysis to compare how similar the results of the two methods are.
I only have two measurements for each point but I have over 1 million different points. Is there a method... |
Suppose I fit a linear regression $y = \beta x + \rm error$. In this situation, $x > 0$, $\alpha > 0$, and therefore $y > 0$. Moreover, the $\rm error$ is normally distributed with mean $0$ and standard deviation $\sigma$.
Now, if I calculate another error metric, percent error, which is $100*\rm predicted / actual$, ... |
I've seen answers discussing the complexity of training SVMs and neural nets, but how about for predicting new responses once a model has been trained?
For context, I'm working on an app that should produce predictions in near real-time given incoming pixel data and I'm looking for a machine learning algorithm that can... |
I did a regression and found that my residuals pointed out that my data is heteroscedastic.
I applied the Box-Cox transformation and my new model looks as follows,
y^(1/5) = b0 + b1x1 + b2x2
with my lambda = 1/5 and I found my b0, b1 and b2 values. This transformed model does not seem to have heteroscedasticity but ... |
If a regression model is applied and there exist residuals that is very high or very low (meaning outliers compared to the others), is it good practice to get rid of those observations and then do the regression again, particularly if you have a very big sample of data?
|
I want to explore whether attitudes mediate the relationship between employment status and intention to apply to graduate school. (See image below).
I planned to use the Sobel Test to explore the mediation, but I'm not sure I can. How does one/how can one test for mediation with a categorical predictor and both a cont... |
I have a set of data where the response is a proportion. For each event in the experiment, a system will correctly tag X of Y items. In the end, I will have something like 100 different results. I have been trying to determine what is the most correct method of fitting the response variable. So far I have uncovered... |
I was attempting to solve a question on finding the probability that a randomly selected person had an income of $50,000 or more would be audited, based on information on the table below:
My attempt was to take the proportion of those with income more than $50,000 and multiply it with the percentage audited.
Proporti... |
I was attempting a self-study question on the normal distribution, but I wasn't able to get to the answer. I'm not sure if my method used here is incorrect, and would appreciate some guidance and advice.
Question
The pulse rate per minute of the adult male population between 18 and 25 years of age in the United States... |
I'm trying to cluster meaningfully a set of objects characterized by a vector space (bag-of-words) model. Each of those 5000 objects has 1-8 features ("words") from a set of 5500 possible. I used a vector space model ($A_i = 1$ if feature $i$ is present) and cosine distance as a dissimilarity measure, $d (A, B) = \sqrt... |
I know that univariate kernel density functions converge uniformly a.s. to the true distribution. Is this also true for multivariate kdf? Is there a theorem that gives the rate of convergence in the multivariate case? What about the univariate case?
Thank you in advance.
|
Gilvenko-Cantelli assures uniform a.s. convergence of univariate ECDF. My questions are:
Are there similar assurances for multivariate ECDF?
How is the rate of convergence dependent on the dimensions of the r.v.?
Thank you in advance.
|
Stata allows for fixed effects and random effects specification of the logistic regression through the xtlogit fe and xtlogit re commands accordingly. I was wondering what are the equivalent commands for these specifications in R.
The only similar specification I am aware of is the mixed effects logistic regression
> ... |
What ARIMA model would be the best fit for the data provided?:
Log Data
4.80925
4.79486
5.10405
4.99157
5.14573
5.43213
4.82344
5.04939
5.38104
5.17092
4.96136
5.27926
5.43213
5.45860
5.76751
5.48801
5.02090
5.86406
5.47708
5.45486
... |
I need something clarified and that is when you have non-constant variance, estimates won't be biased but will be a problem when it comes to the S.E. formulas and efficiency. Therefore OLS estimates will be inefficient because they give equal weight to outliers. It makes sense to me that giving equal weight to these ou... |
I have multivariate data about a certain population with more than 1000 attributes per exemplar.
Some of the variables are basic demographics attributes including: gender, age, race, ethnicity, income level, etc.
What I want to do is come up with an algorithm that proposes "candidate" partition on my sample.
What I mea... |
I have a bunch of data that's both positive and negative. Its calculated from the residuals of an ANOVA (i.e. specific leaf area calculated as the residuals of an ANOVA of leaf area with leaf blade weight). Right now the data is not homoscedastic or normal. Since I can't log negative numbers I'm unsure of how to make t... |
Using Firth's penalized likelihood method in logistic regression, why can you get a p-value of <.05 when the confidence interval for the estimate includes 1?
code:
PROC LOGISTIC DATA=model PLOTS(ONLY)=effectplot OUTMODEL=fq2;
MODEL outcome (EVENT='1')= variable1 variable2 /FIRTH CLODDS=pl CLPARM=pl;
OUTPU... |
I've been doing some reading about learning to rank - specifically lambdaMART - and one thing I am confused about is the role of features. When training a model, should one only use query-dependent features (as in features derived from both the query and document)?
Could you train on a set of query-independent feature... |
I've got some problems with selecting right model/method in my analysis.
Two groups of animals (differ by "Treatment") were measured from 1-st to 42-nd day, one common value for each group was measured by each day (food consumption per day).
I need to compare this groups and I want to use ANCOVA with "Treatment" as fix... |
Let's say I have the following scenario:
A mouse is put into a maze that's constructed as below:
There are 9 rooms with connections between the rooms as indicated with
a "gap" in the "walls". Assume the mouse moves through the rooms at
random and that self-transitions are allowed. That is, if there are
$k$ ways... |
How can I interpret the coefficients of the crossproduct of each of the following codes? What do they mean? How can I deduce that they correspond to our expectation? Also which crossproduct is correct? (1) or (2)? What's the difference? The data are at the bottom:
fit.model = lm(formula = CO ~ ., data = cigarettes)
Cal... |
I am familiar with the power transform family and I know how to estimate the MLE for $\lambda$ for given samples of a random variable. I have been using the 'boxcox' function in R for a sample of a random variable that depends linearly on a latent variable (i.e. a linear model) and it works very well. The problem is th... |
What would be the most efficient way to report test results from several paired t-tests in a scientific paper? If I gave a bar graph per test result (something like this) would it be too much? Should I do a table instead? Or both? Give graphs only for the 'best' results?
|
I would like to understand if there exists any method to find confidence interval for the parameters of inverse gamma distribution.
|
Suppose we done K-Means and got K centroids of clusters and we want to tag new points based on those K centroids.
UPDATE: These K centroids are given to me, so I can't go for another clustering algorithm. Also I have a large number of 2d points and a big k, so it's very important to get appropriate complexity.
The sol... |
I made some sort of a transition matrix of an increase in probability of success, given the allocation of some finite resource (e.g. 4 in this case). At this moment, I consider the allocation in a stepwise manner. That is, for every +1 increase, I just check which choice maximizes. Generally, the more I add to one opti... |
I was attempting to find the IQR for a normal distribution with mean being 4.5, while the standard deviation.
My attempt yielded the result 2.144, while the actual answer provided was 2.1584.
Following is my workings, appreicate if anyone will be able to guide me where I am going wrong please:
X ~ N(4.5, 1.6^2)
P(A < ... |
Instrumental variables (2SLS) regression
Number of obs = 603
F( 5, 597) = 41.96
Prob > F = 0.0000
R-squared = 0.1386
Root MSE = .26523
|
logwage | Coef. Std. Err. t P>|t| [95% Conf. Interval]
higher | .2566441 .1030163 2.49 0.013 .05... |
In order to find the minimax solution of a certain problem I have to determine the constant $c$ that provides the root for the following equation:
$$l(c)=3\times \left [ 1-\Phi \left( c-75 \right) \right]-\Phi \left(c-78 \right)=0$$
where $\Phi (.) $ is as usual the CDF of a standard normal random variable. Using Newto... |
Question 1 (part 1)
I was attempting to use the exponential distribution to solve the following problem:
the time between cars passing on a road can be modelled with an avg rate of 3.5 cars per minute. Find the probability that the time between two comsecutive cars passing the road is between 20 and 40 seconds
I have... |
I read a lot on the web, but I am still not sure whether I understood completely when we standardize the data (so that it is zero mean unit variance). So, let's say that I have a set of genes and expression levels of those genes among different cancer patients, and I want to cluster the genes into pathways using expres... |
I want to extract the predicted values from a gamm() whose coefficients have been averaged using the package MuMIn, but I'm getting an error.
library(mgcv)
library(MuMIn)
set.seed(0)
dat <- gamSim(6, n = 100, scale = 5, dist = "normal")
fmm1 <- uGamm(y ~s(x0)+ s(x3) + s(x2), family = gaussian, data = dat, random = list... |
I am attempting to find the P-value of a hypothesis test, which compares the success rate of two procedures. A test with 0.05 level of significance is conducted to test the success rate of two procedures.
Procedure A
Sample Size: 200,
Number of Success: 125
Procedure B
Sample Size: 100,
Number of Success: 55
My Attempt... |
I'm a bit stuck on running a GLM between 3 continuous variables in R. I can't make them categorical as it removes the significance. I have two questions.
I'm analysing data on eggs.
I had read that you could control for variables by adding them in using + like so:
m1 <- glm(Volume ~ Altitude + Breadth)
However, I hav... |
I was making an attempt to solve the following problem sets, however, my answer 15.913 seemed quite different from that in the answer key 16.84. I have checked my answer a few times and re-doing the question as well, but I was consistently pulled back to the same outcome of 15.913. Appreciate some guidance and advice p... |
I have been given this formula for upper tail dependence and read that tail dependence depends on the copula and not the marginals:
$$
\lambda_U = \lim_{a \to 1} \Pr[Y>F_Y^{-1}(a)\mid X>F_X^{-1}(a)] .
$$
Would the inverse functions $F_X^{-1}(a)$ and $F_Y^{-1}(a)$ be copula functions ?
I have an intuitive understanding... |
N.B. I only have a very basic statistics background since I am in grade 9 in high school. Any help would be GREATLY appreciated.
My Experiment:
-Part 1: 2 variables (A and B) were each sampled in my homemade wind tunnel simultaneously (1000/s) for 10 seconds=10,000 data points in a run (Run 1) for Configuration 1 at An... |
I remember seeing a paper that ranked causal statistical models, published by some research body, by quality in terms of generalizability or some similar facet(s). This would be a "hierarchy of evidence" type of list. The models included difference in difference (ranked highly), instrumental variables, and other techni... |
I have a dependent variable Cost and an independent variable VPT. I want to perform a power transformation on VPTwith the Box-Cox Transformation.
In the end I am looking for something like this:
C~ I(VPT^(lambda))
What are the steps to get lambda? I read it is possible to do it with the library Mass, but I am also ope... |
I am trying to do a multiple linear regression in R but am having some problems. I have a set up where I am trying to develop a multiple linear regression model for one variable (y) using six other variables ($x_{1},...,x_{6}$), all of which are correlated to some degree.
Based on my understanding of the data I ran a ... |
I am trying to do some PC analysis on my data coming from lipids measurements in different samples. I only have one factor: if samples are diabetic or non-dibetic. Here is the PCA graph I get:
As you can see, data are not clustered at all! What should I do for that? Is there any other clustration analysis I can use in... |
The 'conventional' configuration of RBMs are Binary-Binary and Gaussian-Binary (and sometimes Binary-Gaussian) units.
Although it is possible for both the visible and hidden units to be gaussian, wouldn't a Gaussian-Gaussian RBM just resemble a linear model, since there is no non-linearity in the networks units anymore... |
When AR(1) is expressed as MA($\infty$), I can interpret it as: let's say my wage this year depends only on last year's wage and a random shock (my boss' mood). But last year's wage also depends on the year before that, and so on. Therefore, my current wage is a accumulation of my boss' moods across years, with long-ag... |
I have three signals (below) each having the same standard deviation, however, are clearly very different temporally.
Is there some such metric that could be calculated for each of these signals to give an indication of how they vary over time, such as a measure of continuousness or intermittency if such a metric exis... |
Let $x,y\in R^d$ and $d:R^d\times R^d \rightarrow R$ a metric on $R^d$ be given.
The exponential kernel is defined by:
$k(x,x')=e^{−αd(x,x')}$ where $α>0$.
The kernel matrix is defined as the Gram matrix of $k$: $K_{ij}=k(x_i,x_j), i,j∈[1…n]$.
Is it possible to prove that $K$ is a positive (semi-positive) definite mat... |
What is a simple description of how the GEE algorithm works? How exactly does the GEE process come up with the final estimates of the parameters?
|
Suppose we have a hierarchical model summarised by the following:
$y_{i} \sim N(\mu_{i}, \sigma^{2})$, for $i = 1, \ldots, n$; (For these purposes, assume $\sigma^{2}$ is known)
where $\mu_{i} = \alpha + \beta x_{i}$ and each $x_{i}$ is a given predictor variable for $i = 1, \ldots, n$
Next,
$\alpha \sim N(\mu_{\alpha}... |
I have a data that I want to sample such the resultant distribution of values should have specified mean and standard deviation. I can think of rejection sampling to achieve this however that seems to be overkill as rejection sampling tries to match complete distribution while I need only first two moment to be equal t... |
Let's assume I have two models M1 and M2:
M1: y ~ x1 + x2 + x3
M2: y ~ x1 + x2 + x3 + x4
Since variable x4 has some missing values the sample size of M2 is lower than sample size of M1: n2 < n1.
Is it still admissible to use AIC to compare models based on different sample sizes?
|
I'm currently doing some self-study on Simple Linear Regression. I came across the terms "dependent variable" (eg. Sales volume) and "independent variable" (eg. Advertising budget).
I am curious to learn why is it called dependent and independent variable. I know what these variables does,but just have no clue why the... |
I am trying to implement a noncentral t CDF as expressed by Guenther (1978), Lenth (1989), and the Wikipedia article on the non-central t in R. I have got my algorithm half working: when the signs of t and Delta are equal, I get identical results to R's pt(), but when the signs are opposite, my results differ non-trivi... |
I am using 1983-2008 annual data to test if both Gini coefficients and gross national saving in China and the US can affect the US current account balance. The data seem to be non-stationary, but I am a beginner and only know the basic multiple regression model and autoregressive distributed lag model, can I still use ... |
I'm sure this is a very straightforward question but it came up in my work today and I could not think of the reasoning behind it.
I had two sets of numeric values (A & B) and was looking at the median of their ratio and noticed that median(A)/median(B) is not equal to median(A/B) and I was wondering if someone could e... |
Eight rooks are placed in distinct squares of an 8 x 8 chessboard, with all possible replacements being equally likely. Find the probability that all the rooks are safe from one another.
|
I'm looking at measures from different studies (for a meta-analysis) and hoping to provide an aggregate effect size. I'm trying to identify hetero-/homo-geneity to determine whether I should use a random or fixed effects model.
I do not have the original data - but rather effect sizes calculated from the individual st... |
From Tsay's Analysis of Financial Time Series,
For a univariate weakly stationary time series $r_t$,
its sample autocorrelation function $\hat{\rho}_l$ is defined as:
and the Ljung-Box test is
For a weakly stationary multivariate time series $r_t$, the sample lag-$l$ cross-covariance matrix $\hat{\Gamma}_l$ and... |
I have 260 teacher conferences to score using a rubric. How do two raters need to score these for rater agreement? Do we need three raters?
|
I'm trying to compare my model results with an experiment. I want to overlap the model curve with experiment curve from a paper.
What are my options for digitizing the graph from an image in the pdf paper to excel data?
|
Suppose I have a survival model like this:
set.seed(123)
require(survival)
df<-data.frame(time=as.integer(rnorm(100,50,5)),
status=rbinom(100,1,0.7),
age=rnorm(100,60, 5),
gender=rbinom(100,1,0.5))
df$time<-ifelse(df$time>=50,50,df$time)
coxfit<-coxph(Surv(time, status)~... |
I have a dataset containing two columns and a total of 90 rows. The data is from my experiment where in the first column I have an integer representing the quantity, in the second column I have a percentage. A small example:
Quantity Percentage
1 53%
1 51%
1 67%
2 73%
2 69... |
I conduct a chi-squared analysis on some bins and conclude that an association between the bins and an event exists. I then calculate logistic regression coefficients to validate my hypothesis. Also, I always look at the observed vs expected count in each bin (from chi-squared) to guesstimate logistic regression resul... |
I have measurements $y_1$,...,$y_i$,...,$y_n$ taken from a set of replicates in a factorial designed experiment.
In order to use a linear regression I define my response $z_i = \log(y_i + 1)$. The log is used in order to make the normality assumption hold and the model fit, and the + 1 is used since some $y_i$'s are 0.... |
There is a normality assumption when it comes to consider OLS models and that is that the errors be normally distributed. I have been browsing through Cross Validated and it sounds like Y and X don't have to be normal in-order for errors to be normal. My question is why when we have non-normally distributed errors is t... |
I have a big dataset and I want to build a classification model (svm, rf, ann etc.). Then I split the original dataset into training set and test set. I build the model using training set. After it was done, I use the model to predict the test set. Here, the training set and test set should be similar in data structure... |
I am using Logistic Regression in a low event rate situation.
Overall universe: 46,000
Events: 420
Conventional logistic regression models divide the data into training and test sets and compute the error rates. The final coefficients and threshold levels are chosen and a model is created.
OTH, I'm just trying to prov... |
I'm new in the page and pretty new in statistics and R. I'm working on a project for college with the objective of finding the correlation between rain and water flow level in rivers. Once the correlation is proved I want to forecast/predict it.
The data
I have a set of data of several years(taken every 5 minutes) for ... |
Suppose blood pressure is a continuous outcome variable and you run a linear GEE with following predictors: age (years), weight (lbs), and smoking (yes/no). How would you interpret the coefficients for these predictors? Would it be the same as in "regular" linear regression?
|
Why is the "de-facto" in statistics to minimize the sum of squared errors cost function instead of maximizing some reward function like the likelihood function?
|
Are there ways to estimate the finite sample bias with instrumental variables? I guess this would be conditional on assuming some structure to the problem and also would involve simulation, but, at least in applied econometrics papers, I have never seen people do it.
PS: If possible, the answer could be illustrated wit... |
Background
I am writing a systematic review and meta-analysis of the association of exposure to X with the outcome Y. I have identified ten studies that report on this subject. This will be a meta-analysis of the published literature, not of individual participant data. I want to report the overall mean age and standar... |
Homework question:
Consider the 1-d Ising model.
Let $x = (x_1,...x_d)$. $x_i$ is either -1 or +1
$\pi(x) \propto e^{\sum_{i=1}^{39}x_ix_{i+1}}$
Design a gibbs sampling algorithm to generate samples approximately from target distribution $\pi(x)$.
My attempt:
Randomly choose values (either -1 or 1) to fill vector $x ... |
I am looking at the Wikipedia entry for empirical Bayes, but it's a bit confusing - it seems to me the solution must apply only to the case in which there's only $n=1$ sample $y$ for each $\theta$ and the "sample mean" that's referred to is really just a single value. If this were not the case, I would think that the s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.