instruction
stringlengths
9
38.7k
I aim to work on twitter data for sentiment analysis but I am curios for the way of dealing such a huge number of textual features (words). Is using the Bag-Of-Words approach is the best? However I've learnt that using all the words on tweets is better approach so how the state of art methods dealing with such a textua...
When using SVM to build classifier for a collection of documents, we can use term occurrence, term frequency or even TF/IDF. I would like to know what are the main disadvantages of using term occurrence as the vector generation method? I once heard that this vector generation method can cause support vector machine ...
Four students sit a series of tests, each test contains 10 questions. Students are ranked 1-4 in each test depending upon who got the most questions correct. Tom Dick Harry Alice Test1 Score 9 5 6 8 Test2 Score 8 3 7 4 Test3 Score ...
I am testing the significance of observed data sampled ($n\approx50$) using a multinomial distribution with known probabilities (with ~20 categories). Given the probability of observing the sample $P_{sam}$, I would like to compute the p-value, which is defined as the sum of all probabilities lower than this observed $...
I have two datasets: I have an exam score (pretend is the GRE) for all students that took the exam from 2000-2005, although I do not have student's private information (names, id,etc) I several variables along with the score such as socioeconomic status, race, parent's education, type of school, etc. I have the averag...
I have a paired data consisting of $N$ = 421 samples. I would like to find out if there is statistical significance between the paired samples. Since, I do not know the underlying data distribution I select the Wilcoxon Signed Rank test for my task. I use the SciPy stats module in Python to do the job for me [0]. This ...
In Rosenthal and Rubin (1979) ``A Note on Percent Variance Explained as A Measure of the Importance of Effects'', they give an example of where $r^2$ is deceptively low: Suppose half the patients in a medical study are randomly assigned to a new medical treatment (X = 1) while the other half are assigned the standard ...
I am trying to get some ideas on how to test for an implicit relationship, if any, between variance and skewness. That is, given a very large data set (e.g 90 years of monthly returns), is there a way to generally test if skewness is likely to increase with increasing variance or vice versa? I will be very grateful fo...
The Problem Consider the aging chain on $\{0, 1, 2, \dots\}$ in which for any $n \geq 0$ the individual gets 1 day older from $n$ to $n+1$ with probability $p_n$ but dies and returns to age 0 with probability $1 - p_n$. Find conditions on the $p_n$'s that guarantee that: (a) 0 is recurrent My Work We'll consider first...
I have problems in finding a proper similarity measure for clustering. I have around 3000 arrays of sets, where each set contains features of certain domain (e.g., number, color, days, alphabets, etc). I'll explain my problem with an example. Lets assume i have only 2 arrays(a1 & a2) and I want to find the similarity b...
When I run PCA on a certain data set, is the solution given to me unique? I.e., I obtain a set of 2d coordinates, based on interpoint distances. Is it possible to find at least one more arrangement of the points that would meet these constraints? If the answer is yes, how can I find such different solution?
I have $300$ time series objects that constitute the $300$ columns of matrix $X$. This matrix has $5$ rows and represents $5$ days of time series information for each $300$ columns. I set up a $300\textrm{x}5$ matrix of binary values. So the first row might look something like $(1 1 0 0 1)$, which would mean that colu...
In many cases, multivariate methods are used without normality tests. How are following methods robust if data are not normal? Principal components analysis Canonical correlations analysis Factor analysis Multivariate regression analysis Multivariate analysis of variance Discriminant analysis
If one feature of my objects is color, how to compute similarity between two objects? It is correct to transform it to RGB and use Euclidean distance in 3D? Or is there any acceptable one dimensional ordering of colors (as in the case of rainbow)?
We conducted this very simple 2x2 Between Subjects Factorial Design Experiment, where the DV were their answers to a classic insight problem. Since there is only one correct answer to the problem, the values for the DV were either 1 if the answer was correct and 0 if it was not. The results I got was an F-value of .00...
Note that the only measure of location in nominal variable is mode. Is there also any measure of variance? Obviously, some nominal features are more different than other (color of eyes vs. presence of some rare disease).
I do not want to know if some phenomena in nature have normal distribution, but whether we can somewhere see shape of normal curve as we can see it for example in Galton box. See this figure from Wikipedia. Note that many mathematical shapes or curves are directly seen in nature, for example golden mean and logarithmi...
I have collected a data from about 200 customers on their brand preference of 5 international fast food chain shops. Each customer was asked to rank all the 5 brands from highest to lowest (5 for the most preferred and 1 for the least preferred brand). The brand rankings will vary from one person to another. I want to...
I am investigating a curvilinear effect between X and Y by using a hierarchic regression analysis. To test for curvilinear effects, the squared term for X was computed (I mean center also variable X). In model 1, the control variables were entered. In Model 2, X (linear) was entered. In Model 3, X (quadratic) was enter...
I'm trying to predict the impact of avg grasshopper density(ghavg) on plant biomass. Both the response and predictor are continuous data. I had to log transform biomass (logmass) for a normal distribution, giving the following dataset: logmass = c(8.032393925,7.439531107,7.307924891,7.036315375,6.679316231,6.545784839,...
I have a binary classification task for German webpages for which I only have positive examples. That is why I use learning from positive and unlabeled examples as described on this page, also known as partially supervised learning. At the moment, I'm just excluding very rare features which occur only once and very fre...
I have the model $Y_t = a + b*X_t + c*D_t + e_t$, where $t \in T = \{1,...,3000\}$ and $D_t$ is a binary variable equal to $0$ over $T \backslash \{20,21,...,30\}$, and equal to $1$ over $\{20,21,...,30\}$. $c$ is highly significant in OLS. However if I run quantile regression $Q_{Y_t}(\tau | X_t,D_t) = a(\tau) + b(\ta...
I've got some time-series business data that I can fit relatively well with a ARIMA(2,1,0)(1,1,0)[12] model (using R's excellent forecast::Arima -- thanks Prof. Hyndman!). The series is dominated by seasonal effects, but has trends as well, thus the differencing. I'm not an expert in forecasting. I'm exploring a future...
In a bayesian data analysis, if one is modeling differences in binomial/bernoulli probability parameter differences between populations, is it still standard to report the difference in the binary probability as an odds ratio / relative risk as opposed to a probability difference? Take for example, estimating a set of ...
Question I am very interested in the Laplacian Eigenmaps method. Currently, I am using it to do dimension reduction on my medical data sets. However, I have run into a problem using the method. For example, I have some data (spectra signals), and I can use PCA (or ICA) to get some PCs (or ICs). The problem is how to ge...
I did some clustering on an image (each pixel is an observation that has 5 variables associated with it), I get pretty detailed results but they are a little bit noisey... I think. I used K-means. Does anyone have a nice idea on how to reduce the noise a bit? anyone know some postprocessing for K-means. I would usually...
I am using R to do some hypothesis testing on a large sample (n=311) and I am getting confused with the results. R returns very different results than I am getting by hand, using the formulas in my textbook. My data is the difference between (what I think) are two paired sets of observations and is summarized as follow...
I am trying to fit a simple linear model with OLS. I have say 4 terms and the number of data points is >> 4, so no explicit overfitting. 1) My terms or my independent variables do have a strong correlation among each other 2) They are all positively correlated with my y My question is that on building the OLS model,...
if I have two uniform random variables $X$ and $Y$, and I sample $N$ values for each, what's the probability of getting an $r$ Pearson's correlation coefficient (or Spearman correlation) between them of at least $x$? In other words what is the distribution of the $r$ values in this case? Similarly, what if $X$ and $Y$...
I was referring to this video lecture http://videolectures.net/mlss09uk_murray_mcmc/ where the speaker had something like this $$ p(x|D) = \int P(x|\theta,D)P(\theta,D)d\theta $$ equivalent to $$ \frac{1}{S}\sum_{s=1}^S P(x|\theta^{(s)},D), \theta^{(s)} \sim P(\theta|D) $$ I didn't get how the average was derived and...
Let's say I am trying to estimate the treatment effect of rude waiters on how often customers frequent a restaurant. To simplify, let's assume that rudeness is binary, observable, and random. I consider the population of all transactions in October, and I see that some customers have eaten multiple meals and others onl...
I was referring to this lecture http://videolectures.net/mlss09uk_murray_mcmc/. However, I didn't get how the pi value was calculated. Here is a screenshot As far as I know the integral gives the area under the curve. So I didn't get how the double integral is giving the value of pi using P(x,y). Also how did it conve...
I'm working on some exercises for my econometrics class and I'm a little confused. I'm meant to consider a model $$Y=\beta_0 +\beta_1X+u$$ and propose a test (test statistic and critical value) of $H_0:\beta_1 =0$ against $H_1:\beta_1 \ne 0$ such that the Type 1 error goes to 5% and the power of the test goes to 1 as ...
I have a set of almost 1600 time series on 2 years which I want to group into clusters. Do you think this is possible using k-means? Which method do you advice me to use? Is this possible at all using SPSS?
Nearest neighbor/k-NN for use with Normalized Compression Distance. I wonder if there exist any approximation of NN/k-NN algorithm which work for all distance measures ? I would like to test Normalized Compression Distance in practice but cost of computation of similarity matrix (compression of concatenation of each tw...
I have a bivariate data set where x and y values, both continuous variables, correlate well (visually speaking) when x and y are small. As the values of x and y increase, the correlation decreases to an eventual random state when x and y are large. My question is, given a y value, I would like to know the probability o...
I have two independent populations (up and down), each population contains three categories 1,0,-1. For example: up = 1,1,1,1,0,0,1,1,-1,-1,1 down = 1,-1,1,-1,0,1,-1 These populations are not the same size as each other and are much larger than the example above (around 3,000 datapoints) I want to know how s...
I have a design with four factors: Frame (positive negative neutral) Graphic ( graph no graph) Color (red grey) nested in graphic Position of color (nested in color, which is nested in graphic) I am having difficulty understanding if this is an incomplete nested design or a split plot design.
Is there any convention regarding the minimum information that should be included in a table showing a linear regression output? The reason for this question is that I want to make the output as easy to understand as possible. I have graphed the main findings but I want to include the other outputs in a detailed table...
I have 2 vectors of raw values. I need to do a percentile rank correlation and an ordinal rank correlation between them in Matlab. Vec1 = [25 28 29 29 31 32 33 33 33 35 37] ; I'm using corr function in Matlab with type=Spearman for the ordinal part. I'm confused about the percentile ...
To test the significance of the skewness difference between two distributions with $N_1$ and $N_2$ samples, would the following test work: Create a single array of all the samples from both distributions. Randomly shuffle the array . Split the array at index $N_1$. Calculate the $abs()$ of difference of the skewness/k...
I have this confusion related to Monte Carlo Markov Chain method. I know that Monte Carlo method is used to get the sample mean instead of calculating the high dimensional integration which is not tractable. However, I didn't get what's the role of Markov chain in this. I mean if we take samples from the posterior dis...
I have an equation that I am integrating: integrand <- Vectorize(function(x,scale,con,time,tau,degrade,monkey){scale * (con * (time - tau)) - degrade * monkey)} # I have to Vectorize because I'm integrating and all the values are constats eq <- integrate(integrand,lower=0,upper=time)$value eq gives me a ...
Which value for the within-cluster sum of squares points can be accepted regarding a data set of 1000 tuples, 21 attributes (but only 3 are used now)? I have used Euclidean distance is used, and a standard argument like I 500 which will never be reached. The seed was = 10. WEKA (Explorer) was used. Currently, the best...
The Wikipedia article for the Normal distribution says that it's more common to express the quadratic function $f(x) = ax^2+bx+c$ in terms of $\mu$ and $\sigma^2$ what is the transformation that I need to do to eventually solve $\mu = -\frac{b}{2a}$ and $\sigma^2 = -\frac{1}{2a}$ I know I can equate $ax^2 + bx +c =\fra...
My research involved a questionnaire with open-ended questions, multi-answer multiple choice (select all that apply; entered as "1" for circled answers, "0" for non-circled), and likert scale questions. I want to examine whether there are differences in responses to the survey (especially the likert questions) based on...
I have created a simple scatterplot to analyse the correlation between two variables, x and y. Using the abline command, I added a trendline to this data. I now want to know the formula for this trendline. Is there a command that will give this formula as one is able to do in a simple Excel scatterplot?
I have a data set that is composed of the age an industrial machine part is when it fails (x variable) and the part's width in nanometers (y variable) at the time when it fails. The data looks something like this: age (days) width (nm) 10 100 18 88 36 45 ... ... I hav...
Possible Duplicate: Not sure how to work out SSG and SSE on ANOVA table I have a table that is: $$ \begin{matrix} & \mathrm{Tyre\, A} & \mathrm{Tyre\, B} & \mathrm{Tyre\, C} & \mathrm{Total} \\ \mathrm{number\, of\, tyres\, tested} & 25 & 32 & 40 & 97 \\ \mathrm{mean\, response*} & 18.46 & 19.56 & 16.47 & 18.00 \\ \...
The history of many fields of science can be divided into a small number of time intervals that often begin with some important discovery. But I have never seen something similar in timeline of statistics. Obviously, there are some important dates that can be considered as starting points of a new period (Pascal+Fermat...
I wonder if someone can explain what is the main difference between omega and alpha reliabilities? I understand an omega reliability is based on hierarchical factor model as shown in the following picture, and alpha uses average inter-item correlations. What I don't understand is, in what condition, omega reliability ...
My objective is to implement a topic model for a large number of documents (20M or 30M). Let us assume that the number of topics is fixed at 50. I think implementing an LDA for the above problem would not be difficult. However, I have yet to find an answer for an NMF model. I have read that it is NOT easy to implement ...
Note that there are some distributions that can be derived from the others (continuous as well as discrete). For example student and chi-square distribution are derived from normal distribution and binomial distribution can be derived from Bernoulli distribution. Of course, the term "derived" can be understood in two w...
Are there any statistical or econometric studies before 2008 that predicted 2008 financial crisis? Note that there are some publications that attemp to predict contagion between markets using copula concept from probability theory.
By comparing the dendrograms produced by the clustergram object and the "manual" approach i.e. pdist -> linkage -> dendrogram I found they are different, but cannot find an explanation for that difference. Clustergram documentation says that the default distance used is 'Euclidean' and the default linkage method is 'Av...
Possible Duplicate: How should I transform non-negative data including zeros? I have a question: Suppose we have a data point $(0,10)$. We then convert to a log scale. Excel gets rid of this data point since the minimum x-value is $1$. How do we keep this data point? Edit. Can't you change the x-coordinate to $1$?...
I read from my lecture notes that Pearson correlation can be computed as $\frac{s_{xy}}{s_xs_y}$. If I have been given a finite amount of data points $(x_i,y_i),i=1,\ldots,n$, how can I compute the Pearson correlation using formula $\tfrac{s_{xy}}{s_xs_y}$? I managed to find that $s_{xy}=\dfrac{\sum_{i=1}^n (x_i-\bar{x...
What I'm trying to do is analyse results for an experiment I have conducted. An example set of results is Case A B C D 1 2 3 1 8 2 11 11 14 5 3 2 3 4 3 4 12 7 8 7 5 6 6 9 4 A, B, C, and D are different participants. I would like to identify which participant has the most...
I have two complex-valued datasets, A and B that can be considered as vectors with the same number of elements. The datasets are multiplied together using complex point-by-point multiplication, such that the first element of A is multiplied by the first element of B, the second element of A is multiplied by the secon...
Is there a way to perform multiple logistic regression on repeated measures data using Matlab? I have a data set containing a daily measurement recorded from 20 participants for 60 days. I am calculating 18 features for each participant for each day. I wish to determine if there is a relationship between each of these ...
I'm trying to compare three groups data. But the data set is about a new drug trial. The data set has these characteristics: Follow-up set. That is, after administration of the drug, a series of parameters were collected in the following date, day0, day1,day2,...,day28. Unbalanced set. Because some patients died and s...
I have a data set where I test for significant differences between three populations with respect to some 50 different variables. I do this using Kruskal-Wallis tests, on one hand, and by likelihood ratio tests of nested GLM model fits (with and without population as an independent variable), on the other. As a result,...
Quite a while ago, I asked a question for which Peter Ellis provided a very interesting answer. Now I'd like to follow on that and have your comments and ideas on how to actually put it to use. I try to restate the problem, hopefully this time in a more clear way using a synthetic example. Problem: Two groups of subje...
Has the idea of a maximum entropy probability distribution been explored for function spaces, and if so what are some key papers, books, or terms to look for? For $\mathbb{R}^n$ (and discrete spaces), the problem appears to be well studied - one maximizes the quantity, $$-\int f(x) ~ log f(x) ~ dx,$$ over the set of fe...
I am trying to mine product-usage sequences for multiple users of online gaming site. I have found the R package arulesSequences but am not sure how to fit it to my problem. The data format would be tuples similar to those used in arulesSequences, but instead of just mentioning products A and B in transactions, I would...
Let $p$ be some probability distribution with a density $f$. $p$ is defined over $\Omega$. Is it true that for any $\omega \in \Omega$, $p(\omega) = 0$? If not, what are the "minimal conditions" under which $p(\omega) = 0$ for any $\omega$ (the space $\Omega$ is actually a subset of $\mathbb{R}^d$ for some $d$)?
I am currently completing my dissertation. My study is cross-cultural and looks at predictors and inhibitors to adoption of technology in two countries (Thailand and Australia). I have a hypothesised model with IV's (Ease of Use, Usefulness, Need for Interaction, Risk, and Social Influence) directly linked to a single ...
I have code that generates a random permutation. In my case, a permutation consists of N binary features, and each of the N features is set or unset randomly. How many times must I generate a random permutation in order to be reasonably assured that I have covered all possible permutations? I'm not sure how to defin...
Possible Duplicate: Why does t statistic increase with the sample size? In t test,the test statistic is $$ t = \frac{\overline{x} - \mu_0}{s/\sqrt{n}} $$ I wonder what effect of the sample size $n$ has on the t test? For example, as $n$ increases, I thought $t$ will increases at first, but later I realized $s$...
I have read a number of articles that talk about companies such as Google, Facebook, and many others using R for research. The other scenario I have read about is companies using R to prototype an analytics solution and then re-implement it in another language. I am trying to find literature on companies using R for ac...
So, I struggle with Regression a lot. I just found out how to get 2 lines with the same slope, but I cannot manage to get 2 lines with the same intercept. I read about ANCOVA a lot (because I thought this was what I needed), but no one uses the same intercepts; just the same slope. Can someone help out with this?
This post pertains to Bayesian pdf manipulation. Firstly, assuming a prior probability specified as Gamma distribution such that $\alpha = \mu_{0}^{2}/\sigma_{0}^{2}$ and $\beta = \mu_{0}/\sigma_{0}^{2}$; is it correct to assume, substituting into the Gamma distribution, that the prior has the following form: $$\pi(\...
Imagine following example: We have two pairs of points (i.e. 4 objects in some space) and two similarity measures. According to first similarity measure, objects from first pair are more similar then objects from second pair. On the contrary, according to second similarity measure, objects from the second pair are more...
I am trying to interpret the variable weights given by fitting a linear SVM. (I'm using scikit-learn): from sklearn import svm svm = svm.SVC(kernel='linear') svm.fit(features, labels) svm.coef_ I cannot find anything in the documentation that specifically states how these weights are calculated or interpreted. Does ...
Among the literature, some line charts use mean/SE but others use mean/SD. Which is correct or better?
I wanted to test the effectiveness of a particular type of "talking" therapy on depression. I envisaged selecting ONE group of people and measuring their heart rate and scores on depression scale for a period of 8 weeks. So I would have 8 measurements for the heart rate (session heart beat average) and 8 measurements f...
I am trying to figure out the relationship between a dichotomous independent variable sex, an ordinal three level SES independent variable predicting a dichotomous variable for legalization of pot or against. I am confused about what test to run.
I was looking at section 6 of these notes and trying to understand the derivation of the M-step at the top of page 10. I understood the derivation for the model without background, but I do not understand where the $(1-P(Z_{d,w}=\theta_B \mid d,w))$ terms come from. Intuitively, I understand that they are down-weightin...
I am trying to determine the most accurate relationship between two variables (each predictor versus the output eventually). I want to know if the relationship is linear, or log-linear, or log-log, or some other form. What is the systematic approach to determining the underlying relationship that isn't full-out obvious...
I have a logistic growth curve as follows: $y = \frac{1}{(1 + ae^{-bx})}$, where x is the independent measure (x-axis) and a and b are paramaters. The inflection point of this equation is when y = 0.5. Given that information, I need to find the x-value at y = 0.5. But this equation isn't easy to solve. I'm using the st...
I'm trying to use R's glm.nb to calculate predictions and confidence intervals. When I'm using linear models after training a model, e.g., using: model <- lm(y ~ x) I can get predictions and CIs using: pred <- predict(model, new_x, se.fit=T, interval="prediction", level=0.95) CI.upper <- pred$fit[2] CI.lower <- pr...
My Question Consider the model $X_1, \dots, X_n \overset{\mathrm{iid}}{\sim} \cal N(\mu, \sigma^2), (\mu, \sigma^2) \in (-\infty, \infty) \times (0, \infty)$ with a product prior pdf $\xi(\mu, \sigma^2) = \xi_1(\mu)\xi_2(\sigma^2)$ where $\xi_1(\mu) = \cal N(a, b^2)$ and $\xi_2(\sigma^2) = \chi^{-2}(r,s)$ for some cons...
I'm wondering if there are any sorts of standard distributions on subsets of integers $\{1, 2, ..., J\}$. Equivalently, we could express this as a distribution on a $J$ length vector of binary outcomes, e.g. if $J = 5$ then $\{1, 3, 5\}$ corresponds to the vector $(1, 0, 1, 0, 1)$. Ideally what I'm looking for is some ...
We know that red noise is the same as a first-order autoregressive (AR(1)) stationary Gaussian process with a positive correlation at unit lag. Does there exist some formal statistical test for red noise process? One way I can think of is to firstly fit an AR(1) model to the process, then perform white noise test on the...
I have some doubts regarding how a ROC curve for a 3-class classifier (Naive Bayes) can be built. Basically, given some test data, the classifier outputs the probabilities for each of the 3 possible classes. In order to generate points for plotting the ROC curves, I am increasing a decision threshold th from 0.1 to 1.0...
I am working on call center load forecasting. I have daily call volume for past 24 months along with few variables which does affect call load. Though none of these variables have come significant in ARIMA model. My management has asked me to create forecast for two months in advance. I am concerned that just by using...
I have the following dataset: https://dl.dropbox.com/u/22681355/ORACLE.csv and would like to plot the daily changes in 'Open' by 'Date', so I did the following: oracle <- read.csv(file="http://dl.dropbox.com/u/22681355/ORACLE.csv", header=TRUE) plot(oracle$Date, oracle$Open, type="l") and I get the following: Now thi...
For plotting in 3 dimensions, I would say that there are two top level approaches. Plot with 3 axes: one dimension per axis. Plot with 2 axes with the 3rd dimension represented in color. What are some general rules or guidelines about choosing between these two approaches?
For the task of churn modelling I was considering: Compute k clusters for the data Build k models for each cluster individually. The rationale for that is, that there is nothing to prove, that the population of subscribers is homogenous, so its reasonable to assume that data-generating process may be different for di...
Can one define a pair of stochastic processes with independent alpha-stable increments and different alpha parameter (index of stability) values (e.g. a Brownian motion and a Cauchy or Levy process) which are correlated?
When reading about how to approximate the distribution of the sample mean I came across the nonparametric bootstrap method. Apparently one can approximate the distribution of $\bar{X}_n-\mu$ by the distribution of $\bar{X}_n^*-\bar{X}_n$, where $\bar{X}_n^*$ denotes the sample mean of the bootstrap sample. My question...
I have an experiment that produces a few thousand data points which I then have repeated 5 times. Now I wonder how to calculate one single median to summarize all of them. I could combine the data from the five repetitions and calculate a median for that. I could calculate a median for each experiment and then averag...
I have 3 covariates for 100 observations. How can I separate each of my 100 observations into groups as determined by the data. I was thinking clustering. However, apparently, I need more than 3 dimensions to do hierarchical clustering. Would some other clustering method work? How about PCA? I've attached the data as R...
The standard exponential density is only defined for $x>0$ and scale parameter $\lambda > 0$ where the density is given by $f(x) = 1/ \lambda * exp(-x/ \lambda)$. My question is, does a similar density where $\lambda < 0$ and $x < 0$ make any sense and have any interpretation? Similarly, what about the case of $\lambd...
I am doing CFA to test for common method bias using an unmeasured latent construct method. The average common variance I am getting from the common factor is about 31% which is high (as should be less than 25%). I checked for differences in p-values of the trait loadings (between CFA model with ULC and without ULC) and...
I have a set of 10 items each with a weight between 0-1. A person can rate each of these 10 items with a score between 0-100, but is given, say, only 500 points to allocate among these 10 items The person does not know the weight of each item and the total score will be the weighted average. A person could rate each ...
It is quite easy to prove that if $p(\theta)$ is a conjugate prior to some likelihood then the following: $$q(\theta') \propto p(\theta)I(\theta \in A)$$ where $A$ is a subset of the parameter space and $I(r)$ is 1 if $r$ is true and 0 otherwise -- is also a conjugate prior. Basically, if we take a conjugate prior and ...
I work on a couple of library websites and we want to know who are users are so we can make decisions about how to design the site and focus efforts. These are the classes of users we are interested in: "Please select the answer that best describes yourself:" k12-teacher-librarian k12-student college-student grad-stud...
I need to explore the determinants of wheat yield using multiple regression. There are 120 observations. Do I need to use ANOVA? I am using R studio. My results need to include a consideration of more than one functional form, one or more interaction terms for a select set of variables, and the use of dummy variables. ...
I am investigating unconscious racial prejudice as a predictor for guilty or not guilty judgements (Using SPSS). I have a continuous variable for unconscious racial prejudice (higher numbers equal higher levels of racial prejudice), which I want to see if it can predict future judgements of guilt. My dependent variable...