instruction stringlengths 9 38.7k |
|---|
I am new to machine learning, so forgive me if i am doing something absolutely absurd.
I have a classification task (~100 classes) and have about 2 million training data points in a 2000 dimensional space. Coordinates of data points are integers (discrete). All points have non-zero coordinates only for < 10 dimensions.... |
How can I test if two averages of Pearson's correlation coefficients are significantly different?
For instance, I have data pertaining to participants' estimates of certain percentages (e.g. how many percent of US-citizens are taller than 6 feet) in a number of different conditions.
For instance, I want to know whethe... |
I am completely new to multilevel modeling. I am doing my first steps using the lme4 package. I have a three way nested data structure (i.e. cities, persons, individual tests). Both the cities and persons are coded as factor (e.g. cityA, cityB etc. and "1" represents person A). The following question arises: I would li... |
I have been using PCA results and variable loadings on the factors generated to select original uncorrelated input variables for model making
I was putting what i thought were rotated factors from PCA into models and seeing what factors were significant. Then i would go back and see if i could make sense of the results... |
At the moment I'm researching clustering of single words. The input of this research is a list of words (unigrams). During the research I want to compare several similarity algorithms to see how they impact the cluster result.
At the moment I’m using a 70word data set, where the words belong to 7 clusters (i.e., animal... |
I have instances for which the only thing I know is $70\%$ of the distance matrix.
I know some of these points form groups of correlated points (each point of a group is "close" to every point of the same group). I want to find these clusters of "close" points.
I chose a distance threshold. Each pair of points closer t... |
I need help thinking about and identifying the kind of regression analysis that would be appropriate for this problem. Nothing I've discovered so far seems quite right. Referrals to articles or examples would be helpful. Thank you.
The data look like this:
The data are observational.
The sampling unit is a geographic ... |
I have performed a clustering on 20K genes, and I want to understand how coherent resulting clusters are by calculating the significance of the overlap of the clusters with a number of known GO gene categories. I use hypergeometric p-values for this purpose, and I also want to correct for multiple testing using Bonferr... |
In the mixed Poisson regression model, with vector of random effects $w \sim N(0, \Sigma)$, how are the parameters in $\Sigma$ estimated? Is it the same REML method as in the linear mixed model?
|
On the back of an earlier question i am having an issue.
Software = SAS JMP Pro 11
Earlier Question
My rotated factors (post Principal Components Analysis [PCA]) are not at all uncorrelated. I have used Variance Inflation Factor (VIF) scores to initially look at this.
I expected some increase in the VIFs across the boa... |
How do I install the fGarch package for R? When I run install.packages('fGarch'), it returns package ‘fGarch’ is available as a source package but not as a binary.
|
Assume $x_1, x_2, ..., x_n$ are realizations from a normal distribution with mean $0$ and standard deviation $1$ and assume they are ordered from small to large. Let $y_i=x_i-x_{i-1}$ be the difference of the two adjacent numbers (so $y_i$ is always larger than $0$). My questions are:
1) What is the distribution of $y_... |
I want to understand if an experiment gives equal response at two different levels of an experimental parameter. What I did was to repeat the experiment 6 times at the first level of the parameter and 6 times at the second level. The problem is that the experiment measures 20 variables, so I have 12 experiments and 20 ... |
I have data set that was haphazardly collected to test grazing impact on soil. To test the grazing impact, 6 replicate soil samples were collected from inside a fence and 6 replicates were from outside of a fence. However, some area have been fenced only 1 year, while other have fenced 35 years. Those fenced areas spr... |
I want to know why logistic regression is called a linear model. It uses a sigmoid function, which is not linear. So why is logistic regression a linear model?
|
I am relatively new to R, and I am trying to fit a model to data that consists of a categorical column and a numeric (integer) column. The dependent variable is a continuous number.
The data has the following format:
predCateg, predIntNum, ResponseVar
The data looks something like this:
ranking, age_in_years, wealth_in... |
Suppose there is a matrix A with m rows and n columns. Each element is a 3 dimensional vector. This 3 dimensional vector have values of different orders. Can we calculate covariance of such matrix ?
|
Typically, in Bayesian bootstrap, you have samples {$x_1,...,x_n$} of a random variable $X$.
Choose $\{p_1,...,p_n\}$ from a Dirichlet distribution, by sorting $\{0,1,u_1,...,u_{n-1}\}$ where $u_i$ are independent samples from $U \sim Uniform(0,1)$, and taking differences of sorted neighbors.
Use $\{p_1,...,p_n\}$ as w... |
I am trying build a Naive Bayes classifier from data pulled from scientific papers. I want to use the reported variable distribution parameters to approximate a dataset which I can use to train the Naive Bayes classifier (since usually there is no access to raw data).
For example, a paper reports the distribution of... |
I have a set of time series data and am looking to split into different time periods to test for heteroskedascity or not over different time frames.
Intially, I planned to do it this way: Take the daily change over the last month, last year, last 2 years etc. and test against eachother.
Or would the following way be be... |
In the example mentioned in the this doc for Survival Analysis on how to define time intervals, it says that the logic for creating the time variables is that, if a subject has no events, there is a single interval from 0 to last follow-up, with a status of 0. If there are events, then there is an interval for each eve... |
Assume that $ X = X_1 + X_2+\cdots+ X_n $ where $X_i \sim N(0,\sigma^2)$ are independent.
My question is, what distribution does
$$ Z = \frac{X^2}{X_1^2 + X_2^2 + \cdots + X_n^2}$$
follow? I know from here that the ratio of two chi-squared random variables expressed as $\frac{W}{W + Y}$ follows a Beta distribution. I t... |
I have 644 companies out of which 154 went bankrupt. I investigate below if the bankruptcy is related to the sector type:
Bankrupt Nothing total
-----------------------------------
BioTech | 15 110 | 125
Airline | 20 120 | 140
AutoCos | 50 ... |
Can I use a point-biserial correlation if my data is not normally distributed and my sample size $N = 120$?
|
This is a histogram showing my response variable.
The response is # (or proportion? or percent?) of aphids eaten off of cards in fields, to model predation by natural enemies.
Predictors: fixed effects are both categorical (i.e. crop type, season) and continuous (i.e., landscape variables - amount of land in product... |
I have a linear regression model with 3 independent variables (let's say A1, A2, A3) and 2 different dummy variables, one for the gender (d1) and the other one for the location (d2).
When I estimate the model with all the variables included, some of independent variables are not significant, but when I add just one of ... |
I did some research and didn't find what I was looking for: I have a data set x = 10,100,1000 and y1, y2, y3 respectively, and I want to plot those points.
But what is happening is that in the x axis the values that are appearing are 10, 200, 400, 600, 800 and 1000. How can I set the scale so that it only appears the ... |
Let's say I have two models. One has cumulative lift on test data 4.322578, second 2.84488. The only advantage of the second over the first consists in the quality of having the cumulative lift curve nearly identical for both train and validate sets.
For the first model the curve of cumulative lift looks as you can se... |
I'm looking to test for equality of means across different sample sizes of data, but know that the data is not normally distributed and heteroscedastic.
Can anyone suggest anything?
|
Please help me proving this:
Suppose that $Y_1,\ldots,Y_n$ are i.i.d. nonnegative RV's with CDF $F$ and $E(Y_i)=\mu<\infty$. Let $y_1,\ldots,y_n$ be a realization from which an EDF $\hat{F}$ is defined:
$$
\hat{F}(y)=\frac{1}{n}\sum_{i=1}^nI(y_i\leq y).
$$
Want to show:
$$
\text{plim}_{n\to\infty}\left(n^{1/2}\int_0^\i... |
We say a model overfits when classification error increases on the test data. The reason behind this is that the training data is not a representative of the distribution from which data is sampled.
Can we ever say that a model with a given set of parameters does not overfit?
My question stems from the fact that the te... |
I have a sample of 5 numbers from known interval [0, 10].
Are 5 numbers enough to make some conclusions about whether these numbers are drawn from uniform distribution or not?
|
Suppose $X_1,...,X_n$ are iid from $N(\mu,\sigma^2)$ with $\mu$ unknown and $\sigma = 2$ known. Letting $T(X) = \sum{(X_i-\mu)^2}$ from i = 1 to 40, how can I use the central limit theorem to approximate $P(T(X)>200)$?
I found that $E(T(X))=40$ and $Var(T(X))=160$ and $T(X)$ ~ Chi square with n=40 df.
The below is the... |
I am working on a dataset that ranges between 0 - 100 and typically is centered around 50 for the most part. It seems like the dataset shows a triangular distribution given its bound between 0 - 100. I wasn't sure and just wanted to double check if this would be a triangular distribution?
Can we compute z-score for th... |
I have seen that copula transformation changes my sample space to the range of $[0 \; 1]^d$ where d is the number of dimensions. Can anyone explain me about copula transformation?
|
Short version: I need to compare two small (~10) groups of numbers, usual setup for a non-paired t-test, or Mann-Whitney. But -- the numbers come each with its own SE, and since the groups are small, this is presumably relevant. Question -- how do I take the individual SEs into account?
Longer version: There are two gr... |
I posted this question on the JAGS help discussion, I was seeing if I could get any help here:
I wish to fit a survival model using the data below (first two columns are time points, NA represents censoring, third column is number of samples). Is there a way to weight the likelihood by the sample size?
If not, I could ... |
I have a sequence of observations that I am representing as proportions:
X1 X2 X3 X4 X5
0.10 0.20 0.50 0.12 0.08
0.07 0.24 0.55 0.04 0.10
...
The data are coming in as part of a more complicated hierarchical model, for which I need to perform Gibbs sampling. I have all the other conditionals ident... |
If I have generated a set of random data and I wish to measure how well these data fit, e.g. a uniform probability distribution, what are the standard ways to do that?
I am not very experienced with this sort of data processing. One thing that comes to mind is Kullback-Leibler divergence, but there you measure distance... |
I would like to learn a function $f: \mathbb{R}^n \rightarrow \mathbb{R}$ from data $(x_i, y_i)$ where $y_i = f(x_i) + \epsilon_i$. $\epsilon_i$ can be seen as observation noise; however, it is always smaller or equal to 0 ($\epsilon_i \leq 0$), i.e., the observations are always a lower bound on the true function value... |
I am dealing with electricity prices, and they have 3 know "seasons":
Prices during the day follow a pattern;
Prices in the weekend are lower than during the week;
In summer prices are different than in winter.
The three effects interact as well, i.e. in summer the daily pattern is different than during the winter. A... |
I want to fit logistic regression model for a binary outcome variable to see the impact of other explanatory variable on it. What are selection criteria for selecting variables in the adjusted logistic regression model? What is the basic difference between unadjusted and adjusted logistic regression model?
|
I now introduce the problem:
Let assume $\mathbf{z} = (z_1, z_2,z_3)$ be a trivariate normal variable. I want to find the covariance matrix of $\mathbf{z}$.
I now that the density of $(z_1, z_2)$ is a bivariate normal with mean vector $(\mu_1, \mu_2)$ and covariance matrix
$$
\left(
\begin{array}{cc}
\sigma_1^2 & \s... |
I am working on a graph clustering algorithm (mcl). It gives the opportunity to give weights to the edges. The weights must be similarities, but I have a distance. The values of this distance range from 0 to infinity. I am looking for ways to convert this distance to a similarity. So far, my main idea is to use s = 1/(... |
Can data samples have constant means even if they are from different distributions?
|
Someone asked me questions about his outcomes from Xlstat. Since I do not know this software at all, here is the question:
How are p-values for Pearson correlation coefficients calculated ($H_1: \rho \neq 0$)? Does Xlstat just calculate Steiger's z-test?
I can not find this info. The Xlstat help does not say anything ... |
I am evaluating a dataset of ~400 subjects and 10 covariates trying to fit a Cox ph model for predicting survival in AML patients.
To evaluate the models I am using a bootstrapping procedure of 50 iterations (sampling with replacement). Models are built on the training set and tested on the test set. For each model I ... |
I have a probability density function in R and I want to draw a single sample from it. How do I do that?
My current solution (and the one Google keeps giving me) is to evaluate the function for a dense set of values (x) giving the associated probabilities (px) and then draw a sample using sample(x, size=1, prob=px). Si... |
I have encountered one last problem with regarding to the Metropolis-Hastings algorithm. I know that ergodicity is needed in the algorithm to imply convergence to a unique stationary distribution. But how is ergodicity proved in the M-H algorithm? Thank you for your help
|
Consider the one parameter exponential family on a finite sample space $S$: $$p(x;\theta)=\frac{e^{\theta x}}{\sum_{x\in S} e^{\theta x}}, \theta\in \mathbb{R}.$$
My objective is to find an MLE for $\theta$ having observed a sample $x_1,\dots,x_n$ from $p(\cdot,\theta)$. In the continuous case (when $\theta$ is restric... |
Could any body explain that " how does linear svm work for prediction in the classification process?"
Many thanks,
|
Suppose we have $N$ independent random variables $X_1, \cdots, X_N$ drawn from $f_1 > \cdots > f_N$ where $f_i > f_j$ indicates that $f_i$ and $f_j$ satisfy the monotone likelihood ratio property (MLRP). That is, $\forall a<b$ $$ \frac{f_j (a)}{f_j (b)} > \frac{f_i(a)}{f_i(b)}$$.
Now suppose that for every realizati... |
If we are conducting a cohort study of factors associated with recurrent myocardial infarctions (MI) following the first one, should our study population at baseline include subjects who had previously suffered from one MI, or subjects free from any previous MI?
|
I have a stream of documents composed of $1$ to $n$ pages. The objective is to segment the stream of documents. Every first and last page of a document is classified as either the beginning $b$ or ending $e$ of the document. The probability of belonging to either classes is also computed.
I want to study the relation... |
If I know that x = y*y, and I know a whole of statistics pertaining to y, such as the variance and its covariance with other variables, can I analytically solve for the variance and covariance of x? Also, if I know a bunch of statistics regarding x, what can I know about y analytically?
Thanks for the help!
|
I am building a regression model of time series data in R, where my primary interest is the coefficients of the independent variables. The data exhibit strong seasonality with a trend.
The model looks good, with four of the six regressors significant:
Here are the OLS residuals:
I used auto.arima to select the sARIM... |
I am doing a study proposal for a project that looks at two different measures for evaluating the presence of a health condition, one clinical exam one diagnostic exam. the clinical exam will be performed by clinican A and the diagnostic exam will be performed by clinician A (newly trained) and clinician B (expert). F... |
A database like Genbank is said to be a nonreductive database. What does that mean ?
|
I'm doing a self-study. I am currently at part IV of the question. After several attempts, I still can't seem to figure out why $p = 0.75$ for part IV.
QUESTION SHEET
ANSWER KEY
|
I am trying to understand Firth logistic regression (method of handling perfect/complete or quasi-complete separation in logistic regression) so I can explain it to others in simplified terms. Does anyone have a dummied-down explanation of what modification Firth estimation is making to MLE?
I have read, as best I coul... |
I have a question concerning the Kruskal-Wallis test. I compared 4 groups with the kwallis2 test (in stata) and got insignificant results (the multiple comparisons are aborted). When I look at the medians of the variable in two of the groups, one is double of the other. So I did a kwallis test for these two groups and ... |
Is simply including a covariate in a model (ANCOVA) enough for variance in the DV due to it to be factored away? Or do the higher order interactions of the covariate with the other factors of the model have to be modelled as well?
In some software (e.g. Statistica), you have to specifically ask what factorial effects ... |
I'm doing the following self-help revision question on Normal distribution. I don't quite seem to understand:
the answer in Part II and how it is derived
for Part III, why is is that p = 0.1075
for Part III, why does P( Y = 5 ) not have a multiplication with (1 - 0.1075) like P( Y = 4 )
Appreciate some advice and ... |
I heard that all the full conditionals (as used in Gibbs sampling) can determine the joint distribution. But I don't understand why and how. Or did I mis-hear? Thanks!
|
poweRlaw is able to estimate the $x_{min}$ and $\alpha$ for power law tails, but I need to estimate the $x_{max}$ and $\alpha$ for a power law head. Can I take the reciprocal for each data point, and estimate $x_{min}$ and $\alpha$ for the reciprocal distribution? Is there any issue with this approach?
|
I'm trying to understand the advantages (if any) of employing the Generalized Extreme Value distribution (GEV) vs. a stable distribution in the context of understanding the probability of crossing a large threshold.
The stable is limiting for averages, whereas the GEV is limiting for extremes. Both distributions have h... |
To fit a lasso model using glmnet, you can simply do the following and glmnet will automatically calculate a reasonable range of lambda values appropriate for the data set:
glmnet(x, y, alpha = 1)
I know I can also do cross validation natively using glmnet. However, I would like to use the caret package so I can train... |
For simple random sampling, I know that the probability of each point being part of the sample should be equal. Also, any sample of size say $k$ should be equally likely. In the sampling procedure I am using right now, the probability of each point being part of the sample comes out to be the same. However, if a point ... |
Consider the following data about bulb failures (which require a filament replacement for repair) compared across three companies:
P(1st failure) | P(2nd failure | 1st failure) | P(3rd failure | 2nd failure)
--------------------------------------------------------------------------------------
Company A 1 ... |
I have test data where I have several large samples from discrete distributions which I am using as empirical distributions. I am wanting to test whether the distributions are actually different and what the difference in means is for those distributions which are actually different.
Since they are discrete distributio... |
From Wikipedia
the family of complex normal distributions characterizes complex
random variables whose real and imaginary parts are jointly normal,1
i.e., normally distributed and independent.
The definition in the same article is
Suppose $X$ and $Y$ are random vectors in $\mathbb{R}^k$ such that $vec[X Y]$ is ... |
I am running anchored analyses in Winsteps on four data sets (a full data set as well as the data degraded by an additional 20%, 50%, and 70%). I noticed that the standard errors are labeled ERROR for the full data and the data that is degraded an additional 50%, but are labeled MODLSE for the data that is degraded an ... |
I'm designing large-scale, regularized logistic regression models with lots of sparse, binarized features. e.g. isUS, isFR, etc. As a result, a lot of the weights in the model are zero.
I'm wondering how I should compute the "number of parameters" in model-selection criteria like AIC, BIC, etc. Should I only count the ... |
I was told the following will generate 52 observations in range (1,52), with a shape parameter of .5 and a scale parameter of 2.
Yet, there is a 67 so that is perhaps wrong?
What I need is N observations in range (1,52) with the observations conforming to a Weibull distribution with specific parameters.
> print(rweib... |
I suspect this question is related to:
When combining p-values, why not just averaging?
Let me explain my problem:
Suppose you have a set of sample means and associated p-values, standard errors and degrees of freedom. Let’s denote them as: $\mu_i$, $p_i$, $\text{SE}_i$, $df_i$ where $i=\{1,n\}$
It’s straight forward... |
I have some logged increments from time series data and wanted to fit a lognormal distribution, but obviously some are negative. How can I do this?
|
Premises
I'm training a convolutional neural network (ConvNet) on 51 subclasses in the ImageNet dataset. In order to keep an eye on overfitting, I have been suggested to plot training and testing loss function values (using a negative log-likelihood criterion) and accuracy (correct guesses over total number of sample).... |
I have two independent samples of observations. From each sample I produce a statistic. Let's denote these as $\theta_1$ and $\theta_2$. I'd like to test the hypothesis that $H_0: \Theta_1=\Theta_2$, but I have these two constraints:
There is no analytical estimate of the distributions of $\theta_1$ and $\theta_2$ (th... |
I have to separate two populations by a line in a scatterplot:
I would like find a threshold that separates the two populations. In @Waynes words, I would like to cluster the points into two categories, then calculate the line which best separates them. What is the easiest way to accomplish this in R? I've tried the O... |
In SPSS, the user can check the relative variable importance in a clustering result and produce a graph like the following:
link:
http://pic.dhe.ibm.com/infocenter/spssstat/v20r0m0/index.jsp?topic=%2Fcom.ibm.spss.statistics.help%2Fidh_twostep_main.htm
Then, we can identify variables dominating predictor importance or... |
When I run variable importance on a random forest (or any other model), the factor/categorical variable names have the factor name as the suffix. For example,
SALARY ~ STATE + CITY + AGE + …, the result of varImp(model) could look like,
> varImp(model)
rf variable importance
only 20 most important variables shown (o... |
I'm working on a time series model which includes multiple seasonal components (daily and weekly). I believe the best way to approach this would be BATS/TBATS model, however I have a concern if I can incorporate external factors in a proper way. I'm thinking about a regression with BATS/TBATS error, in analogy to a reg... |
I am exploring the probability of flight in a seabird (1=flight, 0=no flight) using binomial logistic regression. My predictors are distance to a disturbance (continuous), hour of the day (continuous), site (factor), season (factor), sea state (dichotomous), and group size (dichotomous). I have explored the use of piec... |
I am running an experiment where no humans are involved. My mobile robot performs a tracking task (following a line in the ground) under 5 different conditions (different control variables). I evaluate the tracking error at each instant and then I average it over time, so that I have, for each condition, a MEAN ERROR $... |
Is there anyway to give weights to a gamma regression so that the variance is allowed to be different, dependent on a particular parameter(in this case sampling event)?
When I try to run my code :
Nm5<-glm(myformula,family=Gamma,data=master_mr,weights=varIdent(form=~1| fevent))
I get this error:
Error in model.frame.d... |
I have a confusion on biased maximum likelihood (ML) estimators. The mathematics of the whole concept is pretty clear to me but I cannot figure out the intuitive reasoning behind it.
Given a certain dataset which has samples from a distribution, which itself is a function of a parameter that we want to estimate, the M... |
https://i.stack.imgur.com/wBc9H.jpg
The imgur link is to a screenshot of the relevant section in my text. I have trouble understanding how if $H(x, \infty)=F(x)$ is the marginal distribution of $x$, how $F(x) = x, 0 < x < 1$ is the uniform marginal. How can the marginal distribution be uniform if it equals $F(x)=x$? Fu... |
I want to find the relationship between two variables and a third. For example, in the graph below I have the total number of questions a student has completed on the x axis, the number of questions they have completed in a particular subtopic on the y-axis and the average score displayed using color. I can't post comp... |
I have a dataset with 2 classes and a certain way to build a binary classifier. I want to measure its performance and to test if it is significantly above the chance level. I measure its performance with repeated cross-validation (see below). My question is: how to test the significance?
Here is my cross-validation pro... |
I've been asked to review the literature for all studies that estimate the mean and median Blood Lead Level (BLL) in a certain country, and then perform a meta-analysis to come up with one overall value for the mean and median level.
Is such a thing typically done? I'm not interested in any "effect size," just a univa... |
Watching a video by the "mathematicalmonk" on the web, I was wondering how to answer this kind of questions:
Given $X_1,\ldots,X_n\sim \mathcal{N}\left(\mu,\sigma^2\right)$. Assume that $\mu$ is unknown. Using the square loss $\mathcal{L}\left(a,b\right)=\left(a-b\right)^2$:
1) Does $\hat{\sigma}^2=\frac{1}{n}\sum_{i=1... |
My goal is to compare published regression weights estimated from a sample in another country, with those of the same model established on our data.There is ample evidence on the web that a Chow test is the best method to test equality of regression parameters, by combining two groups. But a problem emerges when the da... |
In MCMC methods, I keep reading about 'burn-in' time or the number of samples to 'burn'. What is this exactly, and why is it needed?
Once MCMC stabilizes, does it remain stable? How is the notion of burn-in time related to that of mixing time?
|
I want to train a linear regression model to predict a non-linear variable. This how the two independent variables correlated against the response (points are jittered):
And the residuals against the fitted values:
Most of the values for the response are zero. The effect is a very strong heteroscedasticity
s... |
Let's consider the example of whether a person's weight is correlated with their height (simple linear regression). What is the difference between running this correlation on the following two data sets?
Measurements independent of time
Randomly sample 100 people and record their weight and height.
Measurements with ti... |
I need to plot an interaction between two continuous factors for interpretation. I am using the wireframe function in the lattice package and plotting the predicted values from the model with the best fit. The model looks somewhat like this:
out<-lmer(response~apples+pears+strawberry+mangoes+(mangoes)^2+strawberry:mang... |
I'm currently working on a self study worksheet. I understand most parts of the solution for part III, but I can't seem to make out how this comes about:
QUESTION:
ANSWER:
|
I am reading the book "how to measure everything", there is a chapter when the author encourages the usage of Monte Carlo simulation in simulating the future events in order to get a better understanding of the risk/ uncertainty involved. The theory sounds great in paper, and I am tempted to apply Monte Carlo technique... |
Here is a simple test I've run on MATLAB to check the validity of a single pass (online) algorithm for computing $3$rd moment and $4$th moment.
randn('state',0);
num2 = 0;
num1 = 0;
delta = 0;
M1 = 0;
M2 = 0;
M3 = 0;
M4 = 0;
Xvec = zeros(1, 100000);
for j = 1:length(Xvec)
X = 3*randn(1);
% Single pass al... |
I want to set up a simple JAGS model using matrix multiplication, but I am not sure how to set up the matrices. My overall equation is $c=yx$ where $c$ is a 2x1 matrix defined in R of observed data values, $y$ is a 2x2 matrix of prior distributions, and $x$ is a 2x1 matrix of values to be estimated with the prior of th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.