instruction stringlengths 9 38.7k |
|---|
I have an unbalanced panel on daily data for 8 months for 8 years on a pollutant. Thus, my T is very large and my N(number of cross-section) is 112. My model contains a lagged dependent variable as a regressor or what economists refer to as dynamic panel data model. In addition, I have year and time fixed effects and s... |
I am stuck with a very simple question, but I don't really understand sampling, so please help me.
Assume that I perform Bernoulli sampling with parameter $q$ on data D, and obtain sample S1. Then on S1, I perform another Bernoulli sampling with parameter $q'$, and obtain result sample S2. Is the resulting sample S2 a ... |
I want to know how to do a mediation analysis with repeated measures. Here is a fake experiment that has the same form as the one I plan to do (using a fake one lets me simplify some weird complications I already know how to deal with):
For each of 5 targets, 100 participants answer 3 questions:
How warm do you find ... |
This is a homework problem. I have figured out part (a) but I need help with part (b). I include part (a) for completion.
Suppose $X_1,\ldots,X_n$ are iid Poisson random variables. Furthermore, let $Z_n$ be the proportion of zeroes observed i.e. $Z_n = n^{-1}\sum_{i=1}^n 1\{X_j=0\}$.
$(a)$ Find the joint asymptotic d... |
I have a data set with multiple y values per x value. Using Excel the scatter plot and the regression line tools, I wish to apply regression on the data to determine if there is any connection between the data points.
If I just pick the regression trend line (Layout 3) in Excel, it gives me a line with an R² value of 0... |
Disclaimer: Statistics is not my strong side, so if my question is nonsense I apologize. I'm a beginner, but really wanting to understand this.
My question is: why do I get so widely different parameter estimates when using different transformations on my data in a non-linear regression ?
I'm trying to do a nonlinear r... |
I'm looking for books on genetics or biology in general, at an introductory level, ideally where topics are tackled from a statistical point of view. I've been reading "Genes population and languages" by Luca Cavalli-Sforza these last few days and I'm enjoying it a lot, something similar would be perfect.
To give you s... |
Above is output from SAS.
What would be the corresponding ARIMAX equation? I would appreciate if someone could help me write the mathematical equation, preferably in the following form:
$$
Y(t)= ay(t-1) + by(t-2) + \ldots + z
$$
where $a, b, c$ are the coefficients, and $z$ is any error term.
|
I am using a chi-sq test between two proportions (http://statistic-on-air.blogspot.com/2009/07/comparison-of-two-proportions.html). I am using this over the z-test for proportions because I do not think my data is normal.
My question is how do I get the difference (shift) estimate & confidence intervals for this test.... |
Would you please explain me the difference between Probability distribution and Sampling distribution easily ?
Is that the difference : in probability distribution we have probability for every individual whereas in sampling distribution we get probability for statistic ?
Does sampling distribution require more than 2 ... |
I am dealing with some data which plotted looks like:
I would like to add a level of significance to my claim that the values of the two time courses are different over the latter half of the experiment (data is sampled at 60 Hz, standard errors of the mean are shaded).
I have tried two approaches:
Compare per-interv... |
Lets say you want to create a random forest model that predicts whether a user will click on your search engine ad. Lets say the training data set marks the independent variable (i.e. whether the user clicked or not) as a 0 if it's a miss, and a 1 if it's a hit.
Should this type of model be a classifier or a regression... |
Background: I am a stakeholder in a research project involving seed germination and viability tests for a number of shrub species. The ultimate goals of this project are to determine best practices for future storage and use of these species' seed. To investigate this, seeds from a variety of accessions and ages, of nu... |
This seem to silly but I wanted to confirm if the derivative of the log-likelihood $\hskip 2 pt l(x_i)$. The derivative of $$\frac{d (\sum_{i=1}^{M} log(x_i))}{dx} = \frac{1}{x_i} \sum_{i=1}^{M} \frac{1}{x_i}$$
Is this correct?
UPDATE of the Question : the pdf is $$p(x) = dP(x)/dx = d*x^{d-1}$$ where $P(x) = x^d$ ... |
I have N objects which can have either 1 or both properties, A & B. I want to know if having property A raises the chance of having property B.
My data is:
Where S means they have the property, and N means they dont (ie, 263 objects have A & B, while 188 have B but not A).
What is the correct test to see whether hav... |
Assume that the true (but unknown) relationship in a population between $Y$ and $X1, X2, X3, X4$ is $$Y=\beta_0 + \beta_1 X_1 + \beta_2 X_2 + \beta_3 X_3 + \beta_4 X_4.$$ Further assume that I have a sample from the population that I wish to model using linear regression and I fit the following two regression models:
\... |
I have a survey data set with missing values and I generated 10 multiple imputations in which the missing values were imputed. There are several categorical variables in the data sets and I'd like to see if there's any association among these variables using chi-squared test.
However, I've been searching how to run thi... |
I need to find the UMP of a random sample of a BETA$(\theta,1)$ distribution. I know that the pdf of this problem is
$$f(x;\theta)=\theta x^{\theta-1}=\theta e^{(\theta-1)\log{x}}$$
After some calculations i get to the point that i know this family contains a MLR for $\sum_{i=1}^n\log{x_i}$. This is were i get stuck. H... |
Is it possible to use R to predict the input or independent variables that lead to a particular value of the dependent variable? I have a linear model relating three input variables to a dependent variable. However, I would like to inverse the model so that now I can use it to predict the input variables. My inkling is... |
I have come across a graph pattern in two basically unrelated experiments, and I want to understand where it is coming from, or at least how to handle it statistically.
I work in computational linguistics; I have picked up some statistics along the way, but barely enough to make grunt noises.
For evaluating a language-... |
I have two vectors of data of different sample size. Both are the same experiment, but executed in a different environment. Since the sample sizes are different and they don't share any subject, is it safe to assume there is no dependency possible? From what I gathered, there can be no correlation nor can I create a s... |
I've been trying to figure out a way to perform LASSO with L1 loss function (instead of the L2 loss) but have been completely dumfounded as to how.
I've attempted to use the flare package's flare.slim() function but receive the error
Sparse Linear Regression with L1 Regularization.
Error in cor(xx, yy) : unused argum... |
A document I read many years ago (to do with actuarial education; sorry I can't link to a copy) used chi-square tests to assess lack of fit of various models to mortality rates which were treated either as (scaled) binomial or Poisson, or as normal.
It advocated a blanket rule of thumb for dealing with models identifie... |
I am a doctoral candidate and for my dissertation research I am using two standardized scales as independent variables. Because these have not been used with my particular population, I needed to do some validation. Both produced good alphas, but both failed when it came to the CFA. I've been told that I can just sim... |
Truthfully I'm not even sure what the proper name for this sort of trial is, so I'll just describe the whole setup.
Suppose I have an integer variable n, which starts at zero and gets incremented every time there is a "success".
Then suppose what I guess you could call the "difficulty" of a successful trial is defined ... |
I have 5 logistic models for 5 products. For recommending a product to a customer, I want to rank order the products by their probability scores. The problem arises because I am comparing apples to oranges, the probability scale for each of the models is different, the penetration rate for each product is different.
I ... |
I have two different distributions, first has studentIDs as columns and features in row.
First Distribution
feat. std1 std2 std3 std4
nose 3.0cm 3.5cm 2.9cm 3.1cm
height 170cm 173cm 167cm 165cm
hair 5.0cm 20cm 7.0cm 2.0cm
Second distribution has more details about features, lets s... |
I'm using R to plot some graphs for visually inspecting the normality of variables that will go into a linear regression model. Except for a histogram and a QQ plot, what other graphics could I use?
|
I read very carefully the answer to the question "what is deviance?" already asked here, and I understand how to calculate and use deviance for model comparison, for example.
However, a question remains as to what deviance actually is.
As I was fitting a multinomial model to my data with either one or several predicto... |
I am an archaeologist (PhD candidate) that has recently learned how to perform chi squared tests. However, I am told that for the table below, I would need a Fisher's exact test since some of the bins have <5 in them.
I know that this test is usually for 2x2 tables but that it's possible to use it for larger tables to... |
I have read the comments about inferential statistics on census data. I am doing PhD and also facing the same problem with a little difference.
I have collected census data from the population of deans, directors,chairpersons and head of departments because of lack of availability on their part and can get about 64 ... |
I'd like to estimate the correlation between:
An ordinal variable: subjects are asked to rate their preference for 6 types of fruit on a 1-5 scale (ranging from very disgusting to very tasty) On average subjects use only 3 points of the scale.
A continuous variable: the same subjects are asked to quickly identify these... |
I want to write an application, where users will have to choose between different "configurations", and I am looking for a way to statistically validate the "balance" of those "configurations", to make the equally "attractive" to users. Ideally, I'd like to use a Java API, as it would make it easy to "round-trip" (the ... |
I don't understand three important issues :
(1) Why do we calculate the test statistic under the null hypothesis ?
(2) Why do we reject the null hypothesis when :
p-value < significance level ?
(3) Why is type-I error more serious than type-II error ?
|
I'm learning Bayesian Linear Regression from a book, the linear model is $$p(w|x,\phi,\sigma^2)=Norm_w[\phi^Tx,\sigma^2]$$, as put in the book, we use Bayes approach to do the parameters estimation.
Here comes the problem: I thought it is pretty clear that we should introduce a conjugate prior for the parameters $\ph... |
I have data from survey, and
Trying to build a linear regression model using R like
A~ B
however, want to control C, D, E, F, G. like Age, Sex, and other confounding variables.
I tried to make some models using lm, glm, etc.
and fitted it to my data.
However, in Multivariate regression models, I cannot get the graph l... |
Sometimes multiple tests are conducted of the same hypothesis, using the same model each time but with some model parameter changed. As results for similar values of the parameter are similar, this can be viewed as a calibration of the model rather than data dredging folly. Here's an example:
The graph above shows 2... |
I would like to determine the variance explained by random factors and slopes in a mixed model but am unsure if the analysis I use and my interpretation are correct. Furthermore, comparing models and analysing a mixed model with random slopes seem to give opposite conclusions, therefore I would like to know when to inc... |
$\sigma c=\sqrt{\overline{R}(\sigma S)^{2}+\overline{S^{2}}(\sigma R^{2})}$
where,
$\sigma c$ --- the buffer stock --- needed for maintaining the risk
of stockouts, is used by logistitians
$\overline{R}$ --- the mean of the reserves
$\overline{S^{2}}$ --- the mean of the production
$(\sigma S)^{2}$ --- the square of th... |
Let $ Y_1 < Y_2 <\ldots <Y_{10}$ be the order statistics of a random sample from a continuous type distribution with cdf $F(x)$. How would I begin to show that the joint distribution of $V_1=F(Y_4)-F(Y_2)$ and $V_2=F(Y_{10})-F(Y_6)$ is given by:
$$h(v_1,v_2)= \frac{10!}{1!3!4!} v_1 v_2^3 (1-v_1-v_2)^4 $$
Any hints? Tha... |
The situation:
I have a logistic model that should predict a defect (1=defect, 0=no defect). My model uses 4 out of 14 parameters, which are significant for my dependent variable (tested through summary() and the anova() chi-squared test). Furthermore, I used 80% (~5000, with ~1200 defects) of my data to train the mode... |
I had set of binary variables. To apply logistic regression, I have checked association between dependent and independent variables and considered only those independent variables in the model which came to be associated with dependent variable.
My query is whether it is an appropriate way of fitting logistic regressio... |
I need to understand what mvpart is doing. Which index does it use as a splitting criterion (in my case, method=class)? Does it use simultaneous partitioning along multiple axis (multivariate)? Are there any references I can read on the subject?
|
I´ve been researching about automatic determination of parameters for DBSCAN (a density-based clustering algorithm -- http://en.wikipedia.org/wiki/DBSCAN), especially eps, and have found the following paper, which proposes a method for determining the best eps from the data themselves: http://www.joics.com/publishedpap... |
Suppose $X_{1},...X_{n}$ are independently, identically distributed Bernoulli random quantities with parameter $k$. Consider the hypothesis test:$H_{0}: k = k_{0}$ vs $H_{1} : k = k_{1} \ \ $where $k_{1} \gt k_{0}$.Suppose, using the Neyman-Pearson lemma, we obtain a critical region of the form $C^{*} \ = \ \left\{ (x_... |
Short version: I'm looking for an R package that can build decision trees whereas each leaf in the decision tree is a full Linear Regression model. AFAIK, the library rpart creates decision trees where the dependent variable is constant in each leaf. Is there another library (or a rpart setting I'm not aware of) that c... |
I have data for two classes A and B for N participants (same group -> dependent) in an experiment. Both classes are described by a feature vector. For each participant i have a certain number of samples (=feature vectors) for each class.
Now, in a first step I am interested in the difference of the average within-class... |
The formula for a one sample t-test, as given by wikipedia is
$t = \dfrac{\bar{x} - \mu_0}{s\big/\sqrt{n}}$
However, in this equation, if the sample standard deviation, $s$, is zero, $t$ will be undefined. Is there any reasonable way to get a $t$ value in this case?
|
I have a bunch of time series (~2000) with monthly data stretching over one hundred years. My interest is not to do inference on them but simply to classify them as descending or not. There are two important features of my data: (1) a lot of data points are missing (~50%), and (2) there is a very strong seasonality to ... |
What does it mean for variances to be equal? Is this the same as the variance to follow a normal distribution?
|
Is stats maths or not?
Given that it's all numbers, mostly taught by maths departments and you get maths credits for it, I wonder whether people just mean it half-jokingly when they say it, like saying it's a minor part of maths, or just applied maths.
I wonder if something like statistics, where you can't build ever... |
I'm working on a random forest classifier with 10-folds CV to aestimate the hyperparameter 'mtry' (chosen by maximizing AUROC). I decided to pre-split the training set in 8 samples equals in size (about 100 observations each).
I iterated the train process 8 times. At each iteration I added one sample to my actual train... |
I've written a program to simulate an overhand card shuffle.
Each card is numbered, with suit going from CLUBS, DIAMONDS, HEARTS, SPADES and the rank from Two up to Ten then Jack, Queen, King and Ace. Thus the Two of Clubs has a Number of 1, the Three of Clubs a 2 ....Ace of Clubs is 13... Ace of Spades is 52.
One of t... |
I'm using the igraph package in R to analyze network data. I'm currently trying to calculate some centrality measures for the vertices of my graph and the corresponding centralization scores. My network is both directed and weighted.
require(igraph)
set.seed(12152)
m <- expand.grid(from = 1:4, to = 1:4)
m <- m[m$fro... |
I recently learned about Fisher's method to combine p-values. This is based on the fact that p-value under the null follows a uniform distribution, and that $$-2\sum_{i=1}^n{\log X_i} \sim \chi^2(2n), \text{ given } X \sim \text{Unif}(0,1)$$
which I think is genius. But my question is why going this convoluted way? and... |
I am trying to find a way to solve the following problem :
I have some set A, which contains a set of N numbers, X, where Xi is a
number within X. The numbers in X are unique and they are in sorted
order.
I will draw K random subsets of size L from X. There are no restrictions on how many subsets I can draw, the ... |
I've been futzing around with the following example, and feel that there must be a good explanation or reference that I am blindly missing.
Supposer you have a linear relationship between two variables. Let's even assume that the intercept goes through 0. Why would there be more power in analysis by regression of y~x... |
I am implementing the ARIMAX model for stock price predictions. To select the order, I looped through $0\le p,d,q\le10$ and found the best order to be (1,0,10). I'm a bit confused how to interpret these results. How do I tell if its reasonable, and what does this imply about the data?
|
I know 3 methods to do parameter estimation, ML, MAP and Bayes approach. And for MAP and Bayes approach, we need to pick priors for parameters, right?
Say I have this model $p(x|\alpha,\beta)$, in which $\alpha,\beta$ are parameters, in order to do the estimation using MAP or Bayes, I read in the book that we'd better... |
I need to get as accurate as possible a value for the brightness of a mainly stable light source given twelve sample luminosity values. The sensor is imperfect, and the light can occasionally "flicker" brighter or darker, which can be ignored, hence my need for outlier detection (I think?).
I've done some reading up on... |
I am trying to perform a chi-squared test on the following data:
Achieved: 31
Expected: 19.87179
From a total of: 182
Is it possible to perform such a test on just one item of data like this?
All the examples I have encountered use multiple sets of data.
Ultimately I would like to be able to quantify the % chance that... |
If parameter p ~ Beta(1,1), this would reflect we know nothing about parameter $p$. Generalizing to the multivariate case, how would the same be said about a vector $P$ of probability parameters $p_i$?
|
I wonder if someone could help me with the interpretation of the "z-scores" (%IncMSE) in the random forest approach. I am using a randomForest library in R. Specifically, I am not sure whether the sign of the score (-/+) can be possibly interpreted as a direction of the effect of a predictor on the outcome variable?
|
I have a sparse regression problem (Sparse because a few inputs are factors so we have a lot of columns of 1s and 0s). I am thinking of Ridge Regression because of the sparsity, but also because a lot of the terms will have interaction effects. I also want an interpretable model.
Is there a way to use the Ridge Penalty... |
I am performing ordinal regression (6 response categories) on a large dataset (>15000 points) and comparing two models, one with one predictor X1 (Model 1) and the other with two predictors X1 and X2 (Model 2).
The models I fit are also cumulative over the categories: as in, I am looking at outcomes being at least at ... |
For example, some studies report the probability of survival, on a scale of 0-1, with SE, and sample sizes for two treatments, rather than the mean and SD. Is there a sensible way to use the probabilities directly or convert to a useful format?
|
I built a naivebayes model using the Housevotes84 data(discrete data) in mlbench package-
model <- naiveBayes(Class~., data=HouseVotes84)
I took one record from the data to predict the model.
Irrespective of which record it is the model always provides the output- "Democrats".
housevotes_test <- read.csv("path")
pred... |
Suppose I have a mutivariate Gaussian distributed variable $u\sim\mathcal{N}(\mu,\Sigma)$, where $\Sigma$ is a dense matrix. I wish to calculate the expectation of $f(u_i)$.
Is $$E(f(u_i))=\int f(u_i)\mathcal{N}(u_i|\mu_i,\Sigma_{ii})\,du_i$$ If so provide a simple proof? Also does this apply to other multivariate dis... |
UPDATE 06/2020: I just revisited this question and realised that there is a fairly clear cut answer. Specifically, the required condition is uniform integrability. Basically the class of functions of the distribution that are uniformly integrable can be in inferred using a bootstrap. Without uniform integrability, all ... |
I would like to use imputation for replacing missing values in my data set under certain constraints.
For example, I'd like the imputed variable x1 to be greater or equal to the sum of my two other variables, say x2 and x3. I also want x3 to be imputed by either 0 or >= 14 and I want x2 to be imputed by either 0 or >=... |
I'm currently playing around with linear regression in R, and I've come up with a regression that fits data quite well. I'm just having some problems with interpreting the coefficients of my model. I know how to interpret log-log models in a simpler form, but when I have interactions I'm not quite sure how to interpret... |
Why is that in DF (Dickey and Fuller) test, the test verifies that $Tst = 0$ or $Tst < 0$. Why not test $\Phi = 1$ or $\Phi < 1$?
Need some guidance on this
|
I learned ranking model with graph-based semi-supervised approach, while labeled (just positive) and unlabeled (positive and negative) data is both used in training. With the model, all of the data could be ranked with a score after the training processing. Is there any way to evaluate the system just by the positive l... |
I'm using a QQ plot to asses the similarity between two observed distributions. I need a number that quantifies how much the quantile-quantile plot separates itself (is there a better word for this concept?) from the identity line y=x (IL).
The R^2 coefficient is of no use since it compares the points with the best fit... |
Combining binary classifiers, I want to solve multi-class classification problem in the following setting.
Suppose there is a dataset and each data is in one of four classes: A1, A2, B1 and B2. A1 and A2 are somehow similar. B1 and B2 are also somehow similar.
(e.g. A1=rose, A2=iris, B1=cow, B2=horse)
Intuitively, it s... |
I am using categorical variable (having three categories) as independent variable in model and found that one category is coming to be significant while another category is not coming to be significant while variable is significant at overall level to be included in model. I am not able to understand whether I should i... |
I have morphological data from two different determined groups (It and Nd), where the variables are heterogeneous (continuous, semi-qualitative, binomial). I want to know if the groups differ morphologically and if so, which variables account most for the difference between them.
For this I thought using gowdis() {FD}... |
In my field, it is occasionally the case that we want to evaluate the degree to which some variable, Y, might be influenced by another variable, X, where X is measured across a range of continuous values, and we are not sure whether to assume that the effect of X on Y forms a linear relationship or some sort of non-lin... |
Let's assume one has looked at the occurence of a plant species at different altitude, different temperature and environment. Here are its data:
Temperature environment altitude
plant1 18.1 mud 812
plant2 15.3 field 754
plant3 17.4 ... |
I've recently been using Lavaan and semTools to test for measurement invariance in confirmatory factor analysis (CFA) models and I noticed an (apparent) inconsistency in a calculation that confused me. When you use the "measurementInvariance" command from semTools to test nested models (using MLR), the chi-square diffe... |
Is any one here familiar with an R package called Zelig?
I have a data frame like this:
IQ AGE
80 50
100 18
90 25
etc.
What I need to do is build a model of IQ given AGE, I am running these commands:
z.out <- zelig(IQ~AGE,data=df,model="ls")
this runs the what-if given age 110, what would be the IQ
x.out <- set... |
When generating random variates from different marginal distributions using the NORTA (Normal-to-Anything) method, as described in Cario & Nelson 2007, why is $\varrho$ required?
To adjust this correlation, we can restrict attention to adjusting $\ E[X_iX_j]$, since
$$ Corr[X_i; X_j ] = \frac{E[X_iX_j]-E[X_i]E[X_j]}{... |
End goal will be practical application (model building) by using time series analysis to analyze/forecast macroeconomic/finance data.
Background: I have taken stats, introductory econometrics, intermediate macro, micro in the past couple years, but is has been 10 years since I took my only calculus course.
I'm confuse... |
I have 2 x 2 x 2 mixed design with two between subject factors (sex, organizer) and one within subjects factor (task). The group sizes of the 'sex'-factor is unequal. When I perform a factorial repeated measures ANOVA, I get the following warning message:
Warning: Data is unbalanced (unequal N per group). Make sure y... |
I have a SARIMA forecast from statewide Real Estate Sales data.. but I'm not happy with it. The SARIMA parameters are confusing to say the least.
I am finding that the current model is not forecasting high enough, although the month by month fluctuations look reasonable. Currently the projected year ahead is 4.9% above... |
Suppose we are trying to decide whether to use an ordinal regression model or a nominal regression model. If we know that the outcome variable is ordered should we still use a nominal regression model to compare with an ordinal model?
|
Is there a book(s) / Website(s) that list the different type of distributions and real world usage or application for each one of them (beyond the typical know ones such as normal, binomial, poisson, etc).
Looking for practical application information that would allow to pick the right family for the problem that one ... |
Each of the points in the plot below is a mean of 1000 samples. The standard deviation of a point on the RED line is "small" in that it is smaller than the difference between the mean of the RED line and the mean of the GREEN line at that x value.
What is a good clear way to state that the variation of the data in both... |
In package MASS there is data Insurance packet.
And I need to:
Print table, which row will be Group and column will be Age, in the table should be the sum of Claims meaning.
Can someone help me to do this?
|
I did lasso selection using lars::lars(), then I got this plot. I have no idea how to interpret it:
Could anyone provide a brief explanation? Why does it plot standardized coefficients against |beta|/max|beta|?
|
I have learned that a p-value that is less than alpha means you reject the null hypothesis. But this seems to only make sense in the case of lower tail tests. What do you do for upper tail tests?
|
Let's say you have two time series. you know they are highly correlated with the right time lag. Is there a function that's used to calculate the correct time lag, or do you just have to run a bunch of different regressions to find it?
|
Suppose that I have a variable like X with unknown distribution. In Mathematica, by using SmoothKernelDensity function we can have an estimated density function.This estimated density function can be used alongside with PDF function to calculate probability density function of a value like X in the form of PDF[density,... |
In a box there are 4 red and 7 green balls. A random sample of 5 of the balls is made. Let the number of red balls in the sample be $X$ (a random variable). Calculate $E(X)$ and $\sigma(X)$
|
Recall the functional of primal SVM problem: $\|w\|^2 + C \sum_i \xi_i \to \min$.
Suppose I have 1000 training objects, and want to find optimal $C$ by 2-fold cross-validation. As a result of cross-validation I'll get $C$ that is optimal for certain scale of $\sum_i \xi_i$. When I use this $C$ to train SVM on full trai... |
Okay, so, in the traditional Bernoulli Urn problem, we have an urn with a number N, possibly infinite, of coloured balls, and there are k possible colours. That one I grok.
However, what if I don't actually know what k is? That is, what if I have an urn with N balls and an unknown but finite and strictly positive numbe... |
I need to fit a very complex Bayesian hierarchical model and I want to use the adaptMCMC package of Andreas Scheidegger to do the posterior sampling. I can only find the adaptMCMC package reference manual, which doesn't provide a very helpful example of the core sampling function. Does anyone know if there is a more he... |
There is clear meaning of Pearson product-moment correlation coefficient:
it is cosine of angle between two vectors based on variables.
Also there are 12 other ways to clearify the meaning of Pearson correlation.
Is there any similar for Polychoric correlation coefficient? Besides just "correlation between two ordin... |
I've seen two forms for the estimated coefficients, wondering what the difference is (if there's any), or if I'm missing something:
from regression models book
$$b = (X'X)^{-1}(X'X)Y$$
from wikipedia and my lecturer
$$b = (X'X)^{-1}(X')Y$$
|
I am running an analysis looking at individual voter turnout where it is a 1 for voting and 0 for not voting. I have some information on individuals including age, gender, and several years of past voting history. I can also geocode the information and add all sort of other grouped or clustered data including school ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.