Monthly Archives: August 2015

Why you’ll love Havaianas Origine

The post Why you’ll love Havaianas Origine appeared first on Mindanaoan.com Multi Awarded Lifestyle Blog.

Are you a fellow Havaianatico? (avid fan of Havaianas) I have fab news for you! Havaianas is once again changing the game of footwear! With the new Soul Collection, Havaianas is once again stepping up its versatility. Perfect for the free-spirited and young ones like you and me 😉 The new Havaianas Soul Collection features the Origine Espadrilles, Sneakers and Ballerina. The collection features a rainbow of happy colors and innovative designs preserving the brand’s DNA – authenticity and simplicity. And guess what? The insoles of the Havaianas Soul Collection are made from the same buttery soft sole of the

The post Why you’ll love Havaianas Origine appeared first on Mindanaoan.com Multi Awarded Lifestyle Blog.

Camiguin Lanzones Festival 2015 schedule

The post Camiguin Lanzones Festival 2015 schedule appeared first on Mindanaoan.com Multi Awarded Lifestyle Blog.

Planning to visit Camiguin Island? Do it on October! October is the BEST time for you to visit what is popularly known as the island of your imagination, the Island Born Of Fire, here in Mindanao, Philippines! Camiguin Island celebrates its annual Lanzones Festival every October – it’s a festival that celebrates the bountiful harvest of sweet, fleshly lanzones fruits that the island is best known for. Thanks to Camiguin Congressman Xavier Jesus “XJ” Romualdo, Mindanaoan finally got the Camiguin Lanzones Festival 2015 schedule of activities. Thank you very much, sir!I’m planning to attend at least the major events. Who

The post Camiguin Lanzones Festival 2015 schedule appeared first on Mindanaoan.com Multi Awarded Lifestyle Blog.

Globe Telecom declared 2015 Mobile Service Provider

Globe Telecom was honored as Telecom Service Provider of the Year and Mobile Service Provider of the Year for 2015 by Frost and Sullivan Philippines following a remarkable performance due to efforts and initiatives in the past year. Globe Telecom, coming from its extensive transformation posted outstanding results by end 2014. It figured prominently in revenue growth, market share growth, product introduction and innovation, consumer acquisition, growth in subscriber base and business/market strategy. These resulted to Globe catapulting to leadership in the Philippine telecommunications industry. “We have established ourselves as the preferred telco brand in the country as manifested by

Giveaway: Islands Souvenirs Higalaay Festival and “I Heart CDO” shirts

Let me make this short and sweet With the help of our generous friends over at Islands Souvenirs, I’m giving away several Higalaay Festival and “I Heart CDO” shirts! The Higalaay Festival shirts come in all-new designs and lovely colors! Trust Islands Souvenirs to come up with cool shirts for that ultimate festival vibe! The shirts come in various sizes (there are even shirts that fit little tots!) and prices start at only Php 199.75 Read more about the Islands Souvenirs Higalaay shirts. Get your very own Higalaay Kagay-an Festival shirts at Islands Souvenirs stores located at 2/F Centrio Mall,

Call for Papers: Co-IRIS Workshop at the 3rd European Workshops in International Studies

Call for Papers

Worlding beyond the Clash of Civilizations: An Agenda for an International Relations-Islam Discourse

3rd European Workshops in International StudiesEuropean International Studies AssociationUniversity of Tübingen, Germany06-08 April 2016

In recent history, International Relations (IR) has been defined as a field by the dynamics of (neo)colonial powers, especially with the

Category: Uncategorized

Call for Papers: Co-IRIS Open Panel at the 24th IPSA in Istanbul

Call for Papers

Khaldunian Civilizational Analysis in International Relations

24th World Congress of Political Science
July 23-28, 2016
Istanbul, Turkey

Civilization as a field of research was not taken seriously by political and social scientist …

Category: Uncategorized

ISLAMIC NOTES: Lessons From The Prophet Muhammad’s Love Life | The Types Of Marriages Muslims May Be In

In The Name Of Allah
The Most Gracious The Most Merciful

-From my previous blogs at muslimarvels.tumblr.com and muslimarvels.blogspot.com

Why did the noble Messenger Muhammad [SallAllahu ‘alaihi wa sallam] marry many wives? He [SallAllahu ‘alaihi wa sallam] was married to several wives to teach Muslims the different kinds of marriages they are allowed to be in. Before some start having doubts about the beloved Messenger Muhammad [SallAllahu ‘alaihi wa sallam]’s love life, learn more about Islam before you judge out of ignorance, and take note that:

A: It was a custom many centuries ago for men to marry multiple women. For some, the more wives a man had, the more noble or superior he appeared. Many males back then would be wed to dozens of wives until the ruling in Islam lessened the unlimited number of wives into a maximum of four.
B: It is permitted for a Muslim man to have up to four wives, if capable, for the following reasons: 1- To ensure that, if not all, at least most women are legally married, since it is a known fact that the number of females are far greater than the number of males worldwide. 2- To prevent divorce, separation and disputes between families, as Islam is a way of life that promotes peace and mercy. 3- To increase the number of Muslims who love Allah and His noble Messenger Muhammad SallAllahu ‘alaihi wa sallam, so that if one or two of the wives of a man are unable to give kids, still his third or fourth wives can bear more children without leaving the other wives.

Through the blessed marriages of the noble Messenger Muhammad [SallAllahu ‘alaihi wa sallam] Muslims have learned that it is okay for a Muslim man to marry:
1// his female boss or employer, a woman of a wealthy background, a woman who is a lot richer than him, a woman who is several years older than him – through the Prophet’s marriage with his first wife Khadijah Bint Khuwaylid.
__________________
2// a woman who is heavier than him, plus-size or plump or a woman of dark skin [No racism in Islam] – through the Prophet’s marriage with Sawdaa Bint Zam’ah.
__________________
3// a virgin, a female who has reached the age of puberty who is a lot younger than him and shares mutual feelings of love – through the Prophet’s marriage with ‘Aishah Bint Abu Bakr.
__________________
4// his friend’s daughter, or a young widow – through the Prophet’s marriage with Hafsa Bint ‘Umar Bin Al-Khattab.
__________________
5// the half sister of another wife, and to marry during the noble month of Ramadan while abiding by Allah’s Rules – through the Prophet’s marriage with Zainab Bint Khuzaimah.
__________________
6// the divorced wife of an adopted son, a divorcee, to stay married to wives who share the same names, and to marry one’s paternal or maternal cousin – through the Prophet’s marriage with Zainab Bint Jahsh.
__________________
7// an old widow, a woman who already has children from previous husbands – through the Prophet’s marriage with Umm Salama Hind Bint Abu Umayyah.
__________________
8// one’s maid servant or employee, or a woman from a different tribe/nationality/ethnicity to form peaceful relations – through the Prophet’s marriage with Juwairiyah Bint Al-Harith.
__________________
9// in absentia, to have the Walima or marriage contract officially signed even if the groom is in one country while the bride is in another country, and the daughter of one’s enemy also to form peaceful relations – through the Prophet’s marriage with Umm Habiba Ramla Bint Abu Sufyan.
__________________
10// a woman who assertively takes the initiative to propose to him for marriage – through the Prophet’s marriage with Maimoonah Bint Al-Harith.
__________________
11// a woman of low social status, a Christian woman who may inshaAllah embrace Islam – through the Prophet’s marriage with Maariya Al-Qubtiyyah.
__________________
12// a Jewish woman who may inshaAllah become a true Muslim, and a woman whose marriage may fix the affairs of one’s people – through the Prophet’s marriage with Safiyyah Bint Huyayy.

Therefore, in Islam, one’s age, social and ethnic backgrounds do not necessarily matter when looking for a wife – what is important is the mutual love, understanding and agreement between husband and wife/wives. Allah the Almighty knows best.

My beloved mother’s article on the Wisdom Behind The Prophet Muhammad’s Marriages [May Allah the Most Merciful forgive all our mistakes, accept all our good deeds, join us with Allah’s righteous friends and welcome us in Firdaus/Heaven near Allah and His Messenger Muhammad SallAllahu ‘alaihi wa sallam by Allah’s Mercy. Ameen. ]:
http://veiledinblack.blogspot.com/2006/02/polygamy-and-wisdom-behind-prophets.html
Some of my mother’s books published at Darusalam Publishers:
http://justsharingislam.blogspot.com/2015/04/pictures-just-sharing-some-of-my-moms.html

Abu Hurayrah (May Allah be pleased with him) narrated that the Prophet Muhammad SallAllahu ‘alaihi wa sallam said: “A woman may be married for four things: for her wealth, for her lineage, for her beauty and for her religious commitment. Seek the one who is religiously-committed, may your hands be rubbed with dust (an Arabic term meaning ‘May you succeed/prosper’).”
[Sahih Bukhari / Sahih Muslim]

Poem: Just Some Advice From First Wife To Fellow Wives
http://justsharingislam.blogspot.com/2015/04/poem-just-some-advice-from-first-wife.html

It was narrated that Allah’s Messenger Muhammad SallAllahu ‘alaihi wa sallam said, “Allah makes the way to Paradise/Jannah easy for whoever treads the path in search of knowledge [Islamic knowledge which is attained by learning more about Islam].” [Sahih Muslim].

Wasalaam,
Mariam M.
Include all Muslims worldwide in your good du’as 🙂
=====================================
May Allah the Most Merciful accept all our good deeds, May Allah the Most Forgiving forgive all our sins, and May Allah the Almighty join us with His righteous friends in Firdaus/Heaven near Him and His beloved Messenger Muhammad sallAllahu ‘alaihi wa sallam. Ameen.
=====================================
Wisdom Islamic School | Qur’an, Islamic, Arabic | K-12 English Medium |
Accredited by DepED | wisdom.edu.ph | Philippines

Vacation Ownership Is The Hottest New Travel Trend

Although the concept of vacation ownership has been known and practiced in the United States since the 1950’s, there are a host of new companies that are taking this tried and true concept to a whole new level of accessibility and efficiency. Blue Green Resorts Vacations is only one of many new and innovative companies that offer this exciting new arrangement, and the list of providers is growing by an exponential factor as the 21st century continues to unfold. While other vacation arrangements are slowly falling by the wayside, vacation ownership is becoming more and more the accepted custom for

Cool, affordable Higalaay Festival shirts from Islands Souvenirs

Looking for Higalaay Festival Kagay-an Festival shirts? Islands Souvenirs CDO has them! Plus they’re offering irresistible discounts for all of you! Islands Souvenirs joins in on the Cagayan de Oro fiesta / Higalaay Festival 2015 festivities with a lot of exciting in-store promos and activities. Shoppers can look forward to a whole line of limited edition Higalaay Festival 2015 shirts with all-new designs and colors for that ultimate festival #selfie and #ootd. Grab these exclusive tees today and feel the festival vibe with your friends and family. Prices of these shirts start at only Php 199.75! As a special treat,

Go Minimalist for Prom

Let’s pause for a second on interior design and home improvement. Let’s talk about prom and all the exciting things about it such as, well, what else than dressing up? :)Girls will always be girls. When there is an occasion coming up, we are overly exc…

How To: Hijabify Your Homecoming Dress

Hijabis always have this hard time choosing what to wear to occasions. At the end of the day, we just have to resort to having to design our own dresses. We can almost never wear anything ready-to-wear. Like how can you wear to homecoming or any occasi…

R, Python, and SAS: Getting Started with Linear Regression

Consider the linear regression model, $$ y_i=f_i(boldsymbol{x}|boldsymbol{beta})+varepsilon_i, $$ where $y_i$ is the response or the dependent variable at the $i$th case, $i=1,cdots, N$ and the predictor or the independent variable is the $boldsymbol{x}$ term defined in the mean function $f_i(boldsymbol{x}|boldsymbol{beta})$. For simplicity, consider the following simple linear regression (SLR) model, $$ y_i=beta_0+beta_1x_i+varepsilon_i. $$ To obtain the (best) estimate of $beta_0$ and $beta_1$, we solve for the least residual sum of squares (RSS) given by, $$ S=sum_{i=1}^{n}varepsilon_i^2=sum_{i=1}^{n}(y_i-beta_0-beta_1x_i)^2. $$ Now suppose we want to fit the model to the following data, Average Heights and Weights for American Women, where weight is the response and height is the predictor. The data is available in R by default.

The following is the plot of the residual sum of squares of the data base on the SLR model over $beta_0$ and $beta_1$, note that we standardized the variables first before plotting it,

Error Surface

If you are interested on the codes of the above figure, please click here. To minimize this elliptic paraboloid, differentiation has to be done with respect to the parameters, and then equate this to zero to obtain the stationary point, and finally solve for $beta_0$ and $beta_1$. For more on derivation of the estimates of the parameters see reference 1.

Simple Linear Regression in R

In R, we can fit the model using the lm function, which stands for linear models, i.e.

Formula, defined above as {response ~ predictor}, is a handy method for fitting model to the data in R. Mathematically, our model is $$ weight = beta_0 + beta_1 (height) + varepsilon. $$ The summary of it is obtain by running model %>% summary or for non-magrittr user summary(model), given the model object defined in the previous code,

The Coefficients section above returns the estimated coefficients of the model, and these are $beta_0 = -87.51667$ and $beta_1=3.45000$ (it should be clear that we used the unstandardized variables for obtaining these estimates). The estimates are both significant base on the p-value under .05 and even in .01 level of the test. Using the estimated coefficients along with the residual standard error we can now construct the fitted line and it’s confidence interval as shown below.

Fig 1. Plot of the Data and the Predicted Values in R.

Simple Linear Regression in Python

In Python, there are two modules that have implementation of linear regression modelling, one is in scikit-learn (sklearn) and the other is in Statsmodels (statsmodels). For example we can model the above data using sklearn as follows:

Above output is the estimate of the parameters, to obtain the predicted values and plot these along with the data points like what we did in R, we can wrapped the functions above into a class called linear_regression say, that requires Seaborn package for neat plotting, see the codes below:

Using this class and its methods, fitting the model to the data is coded as follows:

The predicted values of the data points is obtain using the predict method,

And Figure 2 below shows the plot of the predicted values along with its confidence interval and data points.

Fig 2. Plot of the Data and the Predicted Values in Python.

If one is only interested on the estimates of the model, then LinearRegression of scikit-learn is sufficient, but if the interest on other statistics such as that returned in R model summary is necessary, the said module can also do the job but might need to program other necessary routine. statsmodels, on the other hand, returns complete summary of the fitted model as compared to the R output above, which is useful for studies with particular interest on these information. So that modelling the data using simple linear regression is done as follows:

Clearly, we could spare time with statsmodels, especially in diagnostic checking involving test statistics such as Durbin-Watson and Jarque-Bera tests. We can of course add some plotting for diagnostic, but I prefer to discuss that on a separate entry.

Simple Linear Regression in SAS

Now let’s consider running the data in SAS, I am using SAS Studio and in order to import the data, I saved it as a CSV file first with columns height and weight. Uploaded it to SAS Studio, in which follows are the codes below to import the data.

Next we fit the model to the data using the REG procedure,


Number of Observations Read 15
Number of Observations Used 15
Analysis of Variance
Source DF Sum of
Squares
Mean
Square
F Value Pr > F
Model 1 3332.70000 3332.70000 1433.02 <.0001
Error 13 30.23333 2.32564    
Corrected Total 14 3362.93333      
Root MSE 1.52501 R-Square 0.9910
Dependent Mean 136.73333 Adj R-Sq 0.9903
Coeff Var 1.11531    
Parameter Estimates
Variable DF Parameter
Estimate
Standard
Error
t Value Pr > |t|
Intercept 1 -87.51667 5.93694 -14.74 <.0001
height 1 3.45000 0.09114 37.86 <.0001

Now that’s a lot of output, probably the complete one. But like I said, I am not going to discuss each of these values and plots as some of it are used for diagnostic checking (you can read more on that in reference 1, and in other applied linear regression books). For now, let’s just confirm the coefficients obtained — both the estimates are the same with that in R and Python.

Multiple Linear Regression (MLR)

To extend SLR to MLR, we’ll demonstrate this by simulation. Using the formula-based lm function of R, assuming we have $x_1$ and $x_2$ as our predictors, then following is how we do MLR in R:

Although we did not use intercept in simulating the data, but the obtained estimates for $beta_1$ and $beta_2$ are close to the true parameters (.35 and .56). The intercept, however, will help us capture the noise term we added in simulation.

Next we’ll try MLR in Python using statsmodels, consider the following:

It should be noted that, the estimates in R and in Python should not (necessarily) be the same since these are simulated values from different software. Finally, we can perform MLR in SAS as follows:


Number of Observations Read 100
Number of Observations Used 100
Analysis of Variance
Source DF Sum of
Squares
Mean
Square
F Value Pr > F
Model 2 610.86535 305.43268 303.88 <.0001
Error 97 97.49521 1.00511    
Corrected Total 99 708.36056      
Root MSE 1.00255 R-Square 0.8624
Dependent Mean 244.07327 Adj R-Sq 0.8595
Coeff Var 0.41076    
Parameter Estimates
Variable DF Parameter
Estimate
Standard
Error
t Value Pr > |t|
Intercept 1 18.01299 11.10116 1.62 0.1079
X1 1 0.31770 0.01818 17.47 <.0001
X2 1 0.58276 0.03358 17.35 <.0001


Conclusion

In conclusion, SAS saves a lot of work, since it returns complete summary of the model, no doubt why companies prefer to use this, besides from their active customer support. R and Python, on the other hand, despite the fact that it is open-source, it can well compete with the former, although it requires programming skills to achieved all of the SAS outputs, but I think that’s the exciting part of it — it makes you think, and manage time. The achievement in R and Python is of course fulfilling. Hope you’ve learned something, feel free to share your thoughts on the comment below.

Reference

  1. Draper, N. R. and Smith, H. (1966). Applied Regression Analysis. John Wiley & Sons, Inc. United States of America.
  2. Scikit-learn Documentation
  3. Statsmodels Documentation
  4. SAS Documentation
  5. Delwiche, Lora D., and Susan J. Slaughter. 2012. The Little SAS® Book: A Primer, Fifth Edition. Cary, NC: SAS Institute Inc.
  6. Regression with SAS. Institute for Digital Research and Education. UCLA. Retrieved August 13, 2015.
  7. Python Plotly Documentation

SONNET: The Way A Righteous Muslim Wife Loves

In the Name of Allah
The Most Gracious The Most Merciful

To my dear spouse, wherever thou mayst be,
If thou wert asked, ‘How doth thy wife love thee?’
She’ll say, ‘I love you, my husband, each day,
Each night – in an unconditional way,

Dear husband, I love you for Allah’s sake.’
Thoughts of you are oft what keep me awake.
I care for you, both when you’re gone and here.
Wherever you journey, you’re always near.

I’m not like those women whose gaze wander,
Searching for lies one after another.
Loyalty is what makes my love unique –
Dear spouse, the only man I keenly seek,

My love is like the pages of a book,
No lines should be skipped, to be understood.

Wasalaam,
Mariam M.

‘Abdullah ibn ‘Amr narrated that Allah’s Messenger Muhammad SallAllahu ‘alaihi wa sallam said: “This world is temporary joys, and the best temporary joy of this world is a righteous wife.” Narrated by Muslim, 1467; Ibn Maajah, 1855
Include all Muslims worldwide in your good du’as 🙂
=====================================
May Allah the Most Merciful accept all our good deeds, May Allah the Most Forgiving forgive all our sins, and May Allah the Almighty join us with His righteous friends in Firdaus/Heaven near Him and His beloved Messenger Muhammad sallAllahu ‘alaihi wa sallam. Ameen.
=====================================
Wisdom Islamic School | Qur’an, Islamic, Arabic | K-12 English Medium |
Accredited by DepED | wisdom.edu.ph | Philippines

Chef Nadine Tengco in CDO for Marca Leon cooking demo

U.S. certified fitness nutritionist and the Biggest Loser Philippines’ resident food coach Chef Nadine Tengco was in town a few days ago for a Marca Leon-sponsored cooking demo. Chef Nadine Tengco shared some tips on healthy eating, diets and good food preparation. One of my favorite take aways from the event? According to Chef Nadine, avoid eating steaming hot rice if you want to lose weight. Better to eat cold or room temperature rice! Hmm…quite a challenge but pretty doable, don’t you think so? She also said that it’s best to use Marca Leon corn oil because it’s good for