Category Archives: Computing and Others

Self-Hosted WordPress Permalink Problems – .htaccess permissions

In case you .htaccess exists and is placed in the right directory you should check if it has the right permissions and if the right user owns it. The right user should be your linux user handling WordPress. On Debian (it will be similar on other systems, I suppose) you can find the owner and the permission of a file or directory with the command  ls -l /path/to/directory. The output will tell you the permission on the file (”-rw-r–r–” in my case) and who owns the file (”www-data” in my example). The second ”www-data” indicates the group, which is identical than the owner in my case. Continue reading Self-Hosted WordPress Permalink Problems – .htaccess permissions

Self-Hosted WordPress Permalink Problems – .htaccess exits

The first thing one should check is if the file .htaccess exists in the root directory of the site (/var/www/html in my case). The root directory of your site should contain a file index.php, in the same folder there should be the file .htaccess. WordPress uses this file to manipulate how Apache serves files from its root directory, and subdirectories thereof. Most notably, WP modifies this file to be able to handle pretty permalinks. Continue reading Self-Hosted WordPress Permalink Problems – .htaccess exits

Self-Hosted WordPress Permalink Problems

Permalink problems can be a very annoying. The following post presents a guideline to fix the problem in a systematical way. Specifically, the post refers to the problem that pages, sites and posts of a self-hosted WordPress blog become inaccessible once one changes the permalink settings. Generally, there are various sources that can cause the same problem. Below you find a checklist that one can go through step by step to find the error. Continue reading Self-Hosted WordPress Permalink Problems

Construct the OLS estimator as a function in R

This post shows how to manually construct the OLS estimator in R (see this post for the exact mathematical derivation of the OLS estimator). In contrary to a previous post, this post focuses on setting up the OLS estimator as a R function. While the aim of the former post was much more on the construction of the OLS estimator in general, is this post all about constructing a functional form around the estimator. Continue reading Construct the OLS estimator as a function in R

Calculate OLS estimator manually in R

This post shows how to manually construct the OLS estimator in R (see this post for the exact mathematical derivation of the OLS estimator). The code will go through each single step of the calculation and estimate the coefficients, standard errors and p-values.  In case you are interested the coding an OLS function rather than in the step wise calculation of the estimation itself I recommend you to have a look at this postContinue reading Calculate OLS estimator manually in R