instruction stringlengths 9 38.7k |
|---|
I was reading this while I found:
The high temperature sample displays greater linguistic variety, but
the low temperature sample is more grammatically correct. Such is the
world of temperature sampling - lowering the temperature allows you to
focus on higher probability output sequences and smooth over
defici... |
Suppose we have a population where $a$ boys below 15 years are white, $b$ boys above 15 years are white, $c$ boys below 15 years are black and $d$ boys above 15 years are black. Describe a way to select $3$ boys from them so that each skin colour and each age group is represented, and the probability of inclusion of a... |
I am a bit confused about ensemble learning. In a nutshell, it runs k models and gets the average of these k models. How can it be guaranteed that the average of the k models would be better than any of the models by themselves? I do understand that the bias is "spread out" or "averaged". However, what if there are two... |
What does simulating values from a known probability distribution mean? For instance, what does it mean to say, simulate values from $\text{Unif}(0,1)$? Does is mean that we have to construct a random variable $X$ such that $X\sim\text{Unif}(0,1)$, and we have to repeat the experiment many times to note down the values... |
For a random sample of size $n$ from Bernoulli distribution with parameter $p$, find the unique UMVUE of $1-p(1-p)$.
I found that $1-X_1$ is a UMVUE of $1-p(1-p)$. But can't this $X_1$ be replaced by any of $X_2$ or $X_3$ or. . . $X_n$. In that case is this UMVUE unique?
|
I have a response variable y which is binary, several feature variables xi which may be float or integer and a grouping variable g which is categorical. I would like to know which variables Xi i=1:n effect y and if this effect is group dependent. To make the story even more complicated, each measurement is associated... |
I've been taught that if you discuss an interaction of the regressors α and β, then you can't discuss the simple effects (α alone and β alone).
I guess you can't even discuss αβ if you discussed αβγ.
I wondered that maybe the rule is that in general you can't discuss different interactions if they share any subset of r... |
Can the method of least squares be used to fit growth curves like modified exponential or Gompertz curves?
|
I inherited some a regression code, which fits some log log model – simplified model:
$log{(Y)} = \beta_0+ \beta_1log{(X)}$
The training data Y values are normalized by dividing them by the maximum value of all Ys.
I am just wondering how this model could be used for predictions given unseen data. Should I simply expo... |
Today, my professor said that for highly correlated time series, taking the first differentiation is like applying an AR(1) filter.. Unfortunately I a was not able to ask him after the lecture.
I am confused...
|
I have read through a few derivations for the Chi-square Goodness of Fit test, and I'd say I'm pretty happy with the maths (e.g. this article with its linked derivation). But, what I struggle with here, is that it still seems like magic to me or, at best, a happy coincidence, that when we divide the observed counts fr... |
I don't think a question like this has been asked before but please excuse me if it already has.
I’m hoping someone can help me by pointing me in the right direction with my problem as stated below.
I have a need to derive predictors for several continuous variables (let’s call them A, B and C), from a combination of t... |
I am analysing a dichotomous predicted variable for a cluster randomised trial.
The model is below. The predicted variable is binary and there are two measures, pre- and post-intervention. There is a categorical group factor (intervention vs control) and the clustering variable is pracID. The model looks like this:
mod... |
I am a beginner in machine learning. I have built a logistic classifier in Python using TensorFlow to train on notMNIST dataset. My code is as such:
weights = tf.Variable(tf.truncated_normal(shape = [784, 10]))
bias = tf.Variable(tf.zeros(shape = [10]))
logits = tf.matmul(features, weights) + bias
prediction = tf.nn.so... |
I have seen in a few places (among others in question Why Gaussian radial basis function maps the examples into an infinite-dimensional space?, Artem Sobolev's answer) that the Gaussian kernel $K_G$ can be represented as follows $-$ $(x,y) \in \mathbb{R}^p \times \mathbb{R}^p$ and letting $\sigma = 1$:
$$K_G(x,y)=\exp\... |
I would like to evaluate the predictive performance of a statistical model using Normalized Root Mean Square Error (NRMSE = RMSE/mean (observed)). However, the mean value of the observation data is all '0' (all observed data are '0'). How can I calculate the NRMSE, otherwise is there any other technique which can repre... |
my data look like this(see pic) What type of regression should be used ?
Thanks for any idea. Vladimir.
|
I am analysing the amount of fibrosis in tissue sections. Each section, representing an individual animal, has had images taken of it in several places and the fibrosis in those pictures has been quantified. i.e. there are multiple readings per n-number.
Problem:
Although each picture is the same size, the relevant ar... |
Is it possible to generate multiple (e.g. 3) time series, each with predefined volatility, and together with an predefined correlation matrix , plus, one of the time series has a predefined autocorrelation ? If so, how to do that?
|
In word to vec module each word has two vectors inside and out side. Or when the word belongs to the context word and when the word belongs to the center word. In the end do we normalize those vectors by adding them up or we just take the inside vectors(Vc)?
|
I would like to get some hints for the following problem, I am using R language, and trying to find a statistical model for my biomedical question. The question is as follows:
I have two matrices:
B: 990*255 mixed matrix, AUC values (cell-line* drug)- between 0 and 1-some values are missing
A: 78*255 mixing matrix (dru... |
I have the following question. I have a number of experiments for different materials (see the picture in the attachment). The results of these experiments seem to be independent from material parameters, or put otherwise they obey the same trend and so far from each other.
How can I prove that the results are materia... |
I am interested in the question of the Vapnik–Chervonenkis (VC) dimension of Support Vector Machines (SVM). Until now, I have only found partial results related to particular cases of SVM. Some examples:
"The VC Dimension of affine classifiers of the form $f(\mathbf{x}) = \mathbf{w} \cdot \mathbf{x} + b$ in $n$ dimens... |
I'm confused by the following, and I haven't been able to dig up the answer elsewhere.
I'm trying to learn R while doing some statistics, and, as an exercise, I try to double-check the results of the built-in R functions by also doing these 'by hand', as it were, in R. However, for the Kruskal-Wallis test I keep getti... |
Please see Chapter 3.2 from this article:
http://www.turn.com.akadns.net/sites/default/files/whitepapers/TURN_Tech_WP_Data-driven_Multi-touch_Attribution_Models.pdf
Here, a method is described by which the influence of online-marketing-channels/campaigns (for example: "Display" as a channel for Display-Ads, "SEA" as a... |
Through simulation I'm comparing several methods for isolating a signal distribution from complicated, noisy background (two components in a mixture). What I need is a good PDF model for this noisy background and for the signal (for simplicity I'd like the signal and background PDFs to be described by the same model, j... |
I am currently working on an analysis project where I wish to predict sickness levels of employees in different offices for a company for the remainder of 2017.
In the past, I have made predictions based purely on predictors and also just purely on the time series. For this project, I feel I need to combine the 2 type... |
p is the probability of success in a
series of Bernoullian trials. To test
H0:P= 0·5, trials are conducted and
H0 is rejected if 7 or 8 successes are
observed.
If H1 is double sided, how do I comment whether the test is biased or not.
For H1:P>0.5, I found that test is unbiased and for H1:P<0.5, I found that the ... |
I have a table with mass spectrometry data from some morphospecies of plants, using different techniques.
sp technique mz abundance
sp1 ESIneg 118.89 3.01
sp1 ESIneg 172.72 3.20
sp1 ESIneg 202.94 3.80
sp1 ESIpos 118.30 2.59
sp1 ESIpos 170.68 3.13
sp1 ESIpos 257.97 3.28
sp2 ESIneg 132.33 22.22
sp2 ESIn... |
I am reading about the hyperparameters optimization for a machine learning model. I am reading "Practical Recommendations for Gradient-Based Training of Deep Architectures" paper. Author speaks about manual search, grid search and random search. What is the difference between Manual serach and grid search. What I under... |
In log-log regression why are the $\beta$1 coefficients the same for non natural logs but the $\beta$0 coefficients different? Can the $\beta$1 coefficients for non natural log-log regression still be interpreted as a 'One percent increase in IV is associated with a $\beta$1 percent increase in DV' Here, it would be fo... |
#Question
###With a school's semester report data I want to subset students that improved from one trimester to another while controlling for what class they are in.
Below is an example report.
|Student |Teacher | S1.Grade| S2.Grade| Improvement|
|:---------|:-------|--------:|--------:|-----------:|
|Amy |Blue... |
This is my first post on Cross Validated. I'm fascinated by statistics, but still trying to build a better knowledge base.
I'm doing a simple linear regression where I'm trying to predict one time series from another. I ran an Augmented Dickey Fuller test and confirmed that both time series are stationary. So, from ... |
I have an application where I would like to sample from a multinomial distribution, but I am concerned that the variance will be too low. As an alternative, I am considering the Dirichlet-multinomial distribution, but I am concerned that the variance will be too high.
The variance of the $Multinomial(p_1,...,p_k,n)$ di... |
I have the following problem: I'm performing a multiple logistic regression on several variables each of which has a nominal scale. I want to avoid multicollinearity in my regression. If the variables were continuous I could compute the variance inflation factor (VIF) and look for variables with a high VIF. If the vari... |
I am trying to work through Van der Maaten and Hinton's paper on t-SNE (which was inspired by Hinton and Roweis' SNE) and am having trouble understanding why they use a perplexity parameter.
In the t-SNE paper the authors suggest "The perplexity can be interpreted as a smooth measure of the effective number of neighbo... |
It's very easy to find famous examples of Type I errors in the histories of various fields. However, I'm struggling to find even one clear example of a Type II error. For my purposes, I'm specifically looking for an example that:
can be easily described to an undergraduate class in a few minutes or less
actually occ... |
I am working on a project which uses a publication that appeared in print in 1998 and reported a completed double blind randomized clinical trial.
Due to the confidential nature of the project I can't give too much detail. The protocol for the clinical trial planned to have three co-primary endpoints. A multiple com... |
Hi I have a table of data with 3 columns: Sales,Cancels and Net revenue.
I am triying to perform a Linear regression to check how much the sales and cancels affect the Net Rev but the first thing i noticed is that there is a negative correlation between sales and Net revenue (So the less I sell the more I gain?) Corr(S... |
I tried to calculate the median of a set of numbers in Excel using the MEDIAN() function and got 13. However, while 7 values are below 13, above it are 8 values. 7 is not equal to 8, so why is it "the median"?
|
I am reading this paper http://zli115.web.engr.illinois.edu/wp-content/uploads/2016/10/0479.pdf
It distinguishes between feature extraction and fine tuning in deep learning. I am not getting the difference as feature extraction is just the same as fine tuning:
As per my understanding:
You train a model on a dataset, u... |
I am still not fully able to handle the concept of generalised inverses when applied to OLS.
Is there a way to show that
$\beta$ = $\ (X'X)^- X'y + (I_k−(X'X)^-X'X)z $
solves the normal equations:
$\ X'X$$\beta$ =$\ X'y $ so that it holds for any z?
Note: $\ X $ is an (n × k)-regressor
|
I'm wondering what the wilcoxon test differentiates from the t test so it can be used with ordinal variables. In other words why can't we use a t test for ordinal variables but can we use a wilcoxon test? I know the difference between the t test and the wilcoxon test is already answered(e.g. here), however the differen... |
I am attempting to run a 2x2x2 unbalanced factorial ANCOVA on sediment mercury (Hg) concentrations (continuous response variable), sediment moisture content (%; continuous covariate), and three categorical variables: state (TX, OK), spring (active, former), and bird nesting (yes, no). However, when I begin testing the ... |
I have many panels of two-year longitudinal data, something of the form:
# A tibble: 8 x 5
ID year Y X1 X2
<int> <int> <int> <int> <fctr>
1 1 2015 2 2 D
2 1 2016 4 5 C
3 2 2015 1 5 A
4 2 2016 1 2 C
5 3 2015 4 3 ... |
I have modeled a stationary time series with another related stationary time series. I'm having a problem with cyclicality in the residuals and I don't know how to fix it.
Here is my model:
$\text{TS}_1(t) = \beta_0 + \beta_1\cdot \text{TS}_2(t) + \epsilon$
Here is a chart of the residuals:
There is clearly a strong... |
We know that the CAPM regression (for a asset i) is given by
$\ z_i = α_i1_T +$ $\beta_iz_m + ε_i = X∗θ_i + ε_i$
How can I show that the estimator of $\hat\alpha$ has the following distribution
$\hat\alpha$ ~ N ($\alpha$, $\alpha_m$ / T $\sum$)
with with am = 1 + $\hat\mu^2_m$/ $\hat\sigma^2_m$ ?
$\hat\mu^2_m$ = 1/T $\... |
What exactly is the tol (tolerance for stopping criteria) in scikit-learn? What is that quantity which is checked with tol to end the training?
|
I need some help with the following exercise:
Let $X$ and $Y$ be two independent $\exp(1)$ random variables. Let $U= \max \{X,Y\}$. Compute the conditional law of $X$ given $U = u$.
I have tried to solve the exercise above, however it's wrong since the obtained conditional density does not sum $1$.
Thanks in advance.... |
I designed an experiment,in which there is one two-level categorical independent variable, and a continuous variable as a covariate. The interaction between the two is not significant, however, when I look at the correlation between covariate and dependent variable at each level of the categorical independent variable.... |
I'd appreciate guidance on how to tackle this problem. I have several inputs which are classifications and a single output. Most of the time, each output has a small value. However, under some conditions, the output is large.
Consider the following data:
ind1 ind2 ind3 dep
black SMALL OLD 42
blue ... |
When estimating an AR, ADL and VAR model, should I use robust standard errors or HAC errors?
In an exercise, I used the robust standard error, and then check for autocorrelation in the residuls (there is none). Is this approach ok?
|
I ran across this problem when I was trying to review my probability. It seemed easy enough, but I'm having a difficult time understanding the logic behind solving it.
The country of Chile is divided administratively into 15 regions. The size of the country is 756,096 square kilometers. How big do you think the region... |
I use cross validation to find a best set of parameters for random forest on my dataset. Then I use the best model to fit my train set and got an average AUC of 0.6883. But I can see the variability of the AUC scores was significant, from 0.5113 to 0.8068. Can I claimed my model performance was 0.8068 (as what it achie... |
Suppose you define:
$$X\sim\mbox{Beta}(\alpha,\beta)$$
$$Y\sim \Phi^{-1}(X)$$
where $\Phi^{-1}$ is the inverse of the CDF of the standard normal distribution.
My question is: Is there a simple distribution that $Y$ follows, or that can approximate $Y$? I'm asking because I have a strong suspicion based on simulation re... |
I have two groups of subjects (healthy & patients). Each subject's data (>70000 samples) were displayed using a histogram. For some, it appeared to be a mixture of two Gamma function, whereas for others it appears to be that a Gamma function would be sufficient for modelling.
I am working on a Matlab script to apply... |
I'm very new to the auto.arima function in R, but it's recently given me a result that doesn't make much sense with my data. I'm using a seasonally-adjusted series, and while it's true that there might still be some lingering seasonal effect (it's unrevised, for example, but that's what I'm going for), I really should ... |
I know it all depends on the data, but I am looking for a general, most common rules for continuous data discretization.
For example It could be a list like this:
Use Supervised MDL discretization (e.g. Fayyad & Irani MDL), if this fails (i.e. no cuts could be found) Use Unsupervised equal frequency discretization, se... |
Learning about hierarchical clustering, I was wondering if there is a commonly used measure for the amount of hierarchy in a data set?
What I mean is: If the data points are all uncorrelated normal random variables with the same mean and std, clearly there is no hierarchy and thus a hierarchy measure should be 0, or cl... |
I have been reading "Applied Statistical Inference" by Held and Bove. In example 2.21 they came upon this expression while trying to show a statistic is sufficient:
$$\sum_{i = 1}^n(x_i - \mu)^2 = \sum_{i = 1}^n(x_i - \bar{x})^2 + n(\bar{x} - \mu)^2$$
I am having a hard time understanding where this expression comes fr... |
Objective
Confirm if the understanding of KKT is correct or not. Seek for further explanation and confirmations on KKT.
Background
Trying to understand KKT conditions, especially the complementary one, which always pops up out of blue in SVM articles. I do not need list of abstract formulas but do need a concrete, intu... |
I have a sample, log-returns of a finance time series. The sample size is n=252. I'd like to estimate a distribution in order to modeling dependence with a copula.
The binned histogram of frequencies, cumulative frequency counts, and qq-plot are below:
I have applied the normality hypothesis test (Anderson-Darling tes... |
Is there a maximum number of groups in Kruskal Wallis' one-way ANOVA? I am looking at a data set with 42 separate groups and I am unsure if there would be some sort of issue in running that many groups under Kruskal Wallis.
I remember reading once that ANOVA should not be ran with more than 26 groups although I am not... |
Having a dataset of 1000 data items, with 25 attributes (a mixture of numerical and categorical attributes), a binary label and using random forest classifier (it's a cost-sensitive learning task as data is a bit imbalanced, if that matters) I perform backward feature elimination which results in 20 attributes and a ta... |
As many others have, I found the resources here and here to be immensely useful for understanding LSTM cells. I am confident I understand how values flow and are updated, and I'm confident enough to add the mentioned "peephole connections", etc. also.
In my example, I have at each time step an input vector of length i ... |
Given a GMM with mean $M=[M_1, M_2, ..., M_C]$ and covariance $\Sigma=[\Sigma_1, \Sigma_2, ..., \Sigma_C]$ (where $C$ is the number of mixtures),
many papers on eigenvoice modeling states that the log-likelihood of an arbitrary speech utterance $X=[X_1, X_2, ..., X_T]$ with $T$ frames is defined as
$\sum_c(-N_c\log(2\p... |
I read gung's answer to "How to interpret type I, type II, and type III ANOVA and MANOVA?".
Instead of messing with R I'd like to just create my own linear model in a spreadsheet. The problem is that I understood what is SS(something|something) on an intuitive level, but not on a mathematical level. I don't know the fo... |
I need to compare between an AR(4) and AR(5) model, but when I try to estimate the AR(4) model, I received the following result:
Error in optim(init[mask], armafn, method = optim.method, hessian = TRUE, :
non-finite finite-difference value [1]
AR1 through 3 and 5 and 6 were estimated without issue (and I've narrow... |
Below is an examination problem. Please consider the question in image
This is what I tried:
$$\max(X,-X)= \frac{x-x}{2} -{|x+x|}= |x|$$
using the identity $\max(X,Y)= \frac{x+y}{2} -{|x-y|}$
So that now we need to find $1 - P(-x \le y \le x)$. Is this approach correct? If so, I'm now stuck choosing limits for $x$. A... |
I dont understand this point for h-steps ahead forecasts.
Even if I know that the $t+2, t+3, ..., t+h$ forecasts are highly autocorrelated, I dont really know if this autocorrelation is not just right, as I need $h$ steps ahead to evaluate it...
Nor?
|
Objective
To confirm if the understanding is correct regarding the reason why Lagrangian Dual is used in SVM.
Background
While Machine Learning, gradient descent is used at regression, logistic regression, back propagation, etc. However for SVM, suddenly Lagrangian Dual pops up. Trying to understand why.
It looks to m... |
I am trying to build a multiple regression model where I have 7 independent variables(predictors), out of which 3 are numerical and 4 are categorical(with each of factor levels upto 80). I need to filter the best possible predictors(variable selection) from these. Is there any way I can do this?
I read about Lasso but ... |
I'm reviewing a paper that has performed >15 separate 2x2 Chi Square tests. I've suggested that they need to correct for multiple comparisons, but they have replied saying that all the comparisons were planned, and therefore this is not necessary.
I feel like this must not be correct but can't find any resources that ... |
I have two years of sales data on a daily basis of 2,000 products. I am not really interested in Time Series modelling but rather on some sort of count data model. The issue is that sales are really sensitive to promotions so it's difficult to model them.
In the following plot you can see how it looks like (sorry for ... |
I have seen in many areas people scale their data before passing to a classifier or learning algorithm . I noticed that by doing that classifier would be really fast. For instance in python X=preprocessing.scale(X) is used before doing svm.SVC().fit(X,y) . Does this have any effect on classifier?
Edit : X=preprocessing... |
Is there a possibility to disable the initial message (1) when creating a sequence with seqdef library(TraMineR) ?
(1) this message
[>] coding void elements with '%' and missing values with '*'
[>] 6 distinct states appear in the data:
1 = M
2 = MC
...
For instance,
LCS.ex <- c("S-U-S-M-S-U", "U-S-SC-... |
Classical reinforcement learning (Q- or Sarsa-Learning) can be extended with models of the environment. These models are usually transition tables that contain the probability of arriving at a particular state given another state and one action.
In model-free learning, these transition probabilities are "incorporated" ... |
TL;DR For a multiclass problem, is Jaccard score the same as accuracy?
Update March 29, 2019
The wrong implementation in scikit-learn is now fixed with pull request #13151. Hooray!
P.S. The lesson here is that no matter how mature and widespread the library, framework or idea is, there are always bugs and shortcomin... |
I'm specifically looking to apply the trick to a Dirichlet distribution. Kingma and Welling (2013) briefly talk about how the trick can be applied to non-Gaussian distributions, and state that the Dirichlet distribution can be expressed as a "weighted sum of Gamma variates", however I've not found any more details on t... |
Basic question
Is there a way to create z-scores across multiple factors quickly? And how would you do this without creating multiple subsets and rebinding them?
Details
Basically I am comparing pilot data of three scales (scale_type: VAS (0 to 100), LMS (0 to 100), TS (-18 to 18). The result of each is put into a co... |
I have a group of individuals X, each member of the group has had two measures taken: i and j.
I have the means and SDs of i and j. I also know the correlation coefficient between i and j: r.
I am able to calculate the combined mean of i and j: k
How do I calculate the standard deviation of k? The formula I have for c... |
I have data of the form ($x$, $y$, $dy$), where $x$ is the independent variable, $y$ is the dependent variable, and $dy$ is the standard error of the mean (SEM) for $y$. I intend to do a weighted least-squares fit to this data. This wikipedia article states that the inverse of the variance should be used for the weig... |
I have data from approximately 200,000 people all of whom do a task at least once, and I record the time it takes them to complete the task. They can complete the tasks in one of two ways (method A or method B). Most people choose to use method B, but some use method A, and some use both (considering most people repeat... |
Suppose $X_1 , ..., X_n$ are random samples of exponential distribution with mean $\theta$. Determine $a$ and $b$ such that $a\sum_{i=1}^n X_i +b$ be admissible under the loss function $L(\theta,\delta)=\frac{(\delta - \theta)^2}{\theta ^2}$.
All my efforts fail, I can't get my head around this, any help would be very ... |
Together with some of my colleagues, I am responsible for an introductory course preparing students for university studies in mathematics. For this course we have the policy that if a student finishes the course, we ask him or her to evaluate the course by answering what we call a course evaluation.
Two years ago I and... |
Over the years, many developments led to adaptations and variations over the original SVM (here called $\ell_1$-SVM, alluding to the $L_1$ penalty for points across the margin).
Two such formulations one frequently encounters are the LS-SVM1 and the $\ell_2$-SVM2.
What's the differences between the three, from an optim... |
I would appreciate your advice.
I have a number of outcome variables that follow Normal, Gamma or Poisson distribution. The predictor is categorical with two levels, as follows:
Category 1: N=321, 9.3% of the sample
Category 2: N=3145, 90.7% of the sample
I understand that unequal cell size is a problem in ANOVA/regre... |
a simple question I suspect. I have a logistic model with a count predictor (#times some event happened) as a predictor of a binary outcome. Am I correctly interpreting the odds ratio as 'the constant and linear increase in the likelihood of being in the category coded as a '1' on the outcome for each additional event'... |
We are about to measure the quality of a conversation in several ways and have some possible predictors. We would like to have each of 10 people have a conversation with each of the other nine people giving us 45 conversations. I plan to carry out a linear mixed model using lmer(). My problem is that I have two rand... |
If data have right censoring and complete data, I delete the right censored ones. Does it make the data to be left truncated? And why?
|
I am running a binary logistic regression with compositional predictors that sum to 100% (demographic categories). I've looked at several postings about this, but can't find a good solution to my problem. Would dropping a single predictor be useful in cases where 0% of the data comes from that category? I.e., if my pre... |
The article here: http://novanoid.github.io/2014/09/26/training-a-neural-network-to-recognize-handwritten-digits/ discusses and implements a way to recognize handwritten digits. For images with a quality of 256 square pixels and an output vector of magnitude 10, the network is constructed quickly and efficiently on a m... |
I have a 40 item questionnaire (20 positive and 20 negatively phrased questions, 1-5 Likert scale), which has been taken by 363 people. Originally, the responses seemed to show two clear factor loadings, simply reflecting the positive and negative question phrasings (which i know is common).
However, I then discovered ... |
I am preparing my data for CFA and multiple regression. I want to see how different types of parental involvement influence children's motivation and academic results. I have a sample size of 5000 with about 20% missing data.
I am having problems with handling the missing data. I probably made the mistake of deleting ... |
I have a basic understanding of free-energy minimization methods from doing some reading in neuroscience on prediction error minimization--primarily from Rafal Bogacz's beautiful tutorial on the free-energy framework for modelling perception and learning.
I'm interested in getting a more thorough understanding of the f... |
I am programming in R using hierarchical bayes for a choice-based conjoint task and wondering how I code the "none of the above" option in the design matrix?
The R code that I am using is below, which contains the rhierMnlRwMixture() function from the bayesm package. The response options are from two product bundles pl... |
Here is a small example:
MyDf<-data.frame(x=c(1,2,3,4), y=c(1.2, .7, -.5, -3))
Now with thebase::lm:
> lm(y~x, data=MyDf) %>% summary
Call:
lm(formula = y ~ x, data = MyDf)
Residuals:
1 2 3 4
-0.47 0.41 0.59 -0.53
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 3.0... |
I searched multiple entries with similar topic, but couldn't find suitable answer. I want to compare two time series, interest rate and investment grade corporate bond yield over 15 years. I have quarterly data for interest rate. And I want to also control for other variables like GDP, inflation and so on. Which statis... |
I am working with a dataset and found a significant interaction between a continuous and categorical (2 levels) predictor (DV is continuous--so the model is something like DV = b1 + b2 + b1*b2). How should I test the simple effect? To help visualize, let's say I have a graph, with my DV on y-axis, continuous predictor ... |
So following the example at the end of the chapter here, I generated a neural network for digit recognition which is (surprisingly) accurate. It's a 784->100->10 feedforward network with one input layer, one hidden layer, and one output layer.
So for an example, here is an input image (reshaped to be a 28x28 image):
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.