Featured Post

Effective Learning Techniques Promising Directions

Question: Examine about the Effective Learning Techniques for Promising Directions. Answer: Presentation Learning is a procedure...

Monday, May 25, 2020

Using the PHP Rand() Functions to Generate Random Numbers

The rand() function is used in PHP to generate a random integer. The rand() PHP function can also be used to generate a random number within a specific range, such as a number between 10 and 30. If no max limit is specified when using the rand() PHP function, the largest integer that can be returned is determined by the getrandmax() function, which varies by operating system.   For example, in Windows, the largest number that can be generated is 32768. However, you can set a specific range to include higher numbers. Rand() Syntax and Examples The correct syntax for using the rand PHP function is as follows: rand(); or rand(min,max); Using the syntax as described above, we can make three examples for the rand() function in PHP: ?phpecho (rand(10, 30) . br);echo (rand(1, 1000000) . br);echo (rand());? As you can see in these examples, the first rand function generates a random number between 10 and 30, the second between 1 and 1 million, and then third without any maximum or minimum number defined. These are some possible results: 20442549830380191 Security Concerns Using Rand() Function The random numbers generated by this function are not cryptographically secure values, and they should not be used for cryptographic  reasons. If you need secure values, use other random functions such as random_int(), openssl_random_pseudo_bytes(), or random_bytes() Note: Beginning with PHP 7.1.0, the rand() PHP function is an alias of mt_rand(). The mt_rand() function is said to be four times faster and it produces a better random value. However, the numbers it generates are not cryptographically secure. The PHP manual recommends using the  random_bytes() function for cryptographically secure integers.

Thursday, May 14, 2020

The Relationship Between Bipolar Disorder And Alcohol...

A patient is admitted to your floor with a history of alcohol abuse with emotional instability. The patient’s family reports they have noticed many changes in their loved ones life and presence. They report moods where he or she was overly joyous and then shifted to severe anger. As a nurse you wonder is there something else causing the patient’s emotional shifts. Bipolar disorder is a serious mental disorder that is characterized by sudden intense shifts in mood, behavior and energy levels (Dual Diagnosis, 2015). Alcohol use disorder is a condition that is diagnosed when a patient’s drinking causes distress or harm. Often both of these disorders can cause distress in various aspects on one’s life. What is the relationship between bipolar disorder and alcohol abuse in adults twenty to forty years old? Bipolar disorder has a lifetime prevalence in the United States of nearly 4% (CDC, 2013, October 4). Healthcare can be provided in various settings and consi st of various interventions. It is important for nurses to have a general knowledge of how to care for patients with both bipolar disorder and alcohol abuse. This is because we can come across these patients in various nursing specialties, in outpatient clinics, or in private practices. There are different degrees of bipolar disorder; including, Bipolar I, Bipolar II, cyclothymic disorder, and rapid cycling. Bipolar I is the most severe case and occurs more frequently in males. It is characterized by at least one weekShow MoreRelated mood, substance, and personality disorders Essay1729 Words   |  7 Pagesand Personality Disorders nbsp;nbsp;nbsp;nbsp;nbsp;Do you know a person that has sudden mood swings? Do you wonder why they act like they do? Their actions could be a result of a type of mood disorder. Mood disorders are part of the Axis One disorders that are found in the DSM IV. Axis One is all categories of disorders except for personality disorders. People who have mood disorders are diagnosed to have a pattern of severe depressive and manic episodes. One major mood disorder that will be discussedRead MorePersonality Disorders : Borderline Personality Disorder926 Words   |  4 Pagespersonality disorder is the most frequent and the most severe of all personality disorders in clinical practice, it s a serious mental disorder with a characteristic pervasive pattern of instability in affect regulation, impulse control, interpersonal relationships, and self-image. It s characterized by severe psychological impairment and high mortality rate due to suicide. (Gado, 2016, p.47) Our group has chosen to focus and elaborate on some of the different personality disorders that exist asRead MoreBorderline Personality Disorder ( Borderline )872 Words   |  4 PagesBorderline Personality Disorder is a mental disorder characterized by instability in mood, impulsiveness, unstable relationships, and chronic emptiness. Borderline Personality Disorder affects approximately two percent of the population, and is predominately found in women. This disorder makes it difficult for people to understand social norms and the dynamics of relationships, so unpredictable and erratic behavior are common. Although Borderline Personality Disorder is incurable, it is treatableRead MoreMomie Dearest : Psychological Disorders In The Movie Mommie Dearest1168 Words   |  5 PagesPsychological disorder: According to the textbook, Psychology: Principles in Practices, they are behavioral patterns or mental processes that can cause personal suffering. With that being said, wouldn’t that mean that if a person had a psychological disorder, they would have a disturbance within them, or more importantly, their brain? A psychological disorder, by definition, are the behavior patterns or mental processes that cause serious personal suffering or interfere with a person’s day to dayRead MoreChild Abuse Is A Strict Subject Upon Our Society1751 Words   |  8 Pages Child abuse is a strict subject upon our society. Now days correcting your kids by spanking them when they do wrong is considered a form of abuse and can involve Child Protective Services. Many parents still believe that this is the correct way to discipline their children; however, to others this is a form of child abuse. There are many forms of abuse that children encounter such as emotional, physical and sexual. Depending on the severity of the abuse, it could potentially cause damage orRead MorePsychological And Emotional Hazards Of Nurses1612 Words   |  7 Pages PSYCHOLOGICAL AND EMOTION AL HAZARDS Like the general population, pilots are susceptible to the same psychological problems other people may encounter. Historically, pilots have had a deep distrust of psychologists and psychiatrists and are dismissive of psychological theories. This deeply rooted negative disposition most likely has been formed from bad experiences during training, licensing, selection, or during the routine tasks of managing daily personal problems. Pilots typically have a lowerRead MoreDescriptive Information On Bipolar Disorder2423 Words   |  10 Pages Bipolar Disorder For my research paper, I took the time to find descriptive information on Bipolar Disorder. It is often referred to as an manic-depressive illness. According to The National Institute of Mental Health definition, â€Å"Bipolar Disorder is a brain disorder causing irregular shifts in energy, moods, activity levels, and everyday functioning and completion of day to day tasks.† People diagnosed with bipolar disorder may go through periods of unusually intense emotion and changesRead MoreBorderline Personality Disorder ( Bpd ) Essay1772 Words   |  8 PagesBorderline personality disorder (BPD) is characterized by difficulties in regulating emotion. This difficulty leads to severe, unstable mood swings, impulsivity and instability, poor self-image, and troubled personal relationships. When Adolf Stern first coined the term border line in 1938, he used it to describe outpatients that did not fall into the standard classification system used in the psychiatric profession. Pat ients with this disorder had what he determined as, â€Å"associative thinkingRead MoreCaring for a Patient with Bipolar Disorder1992 Words   |  8 Pagespatient with bipolar I disorder. Keltner (2011) describes bipolar I disorder as â€Å"the most significant of these disorders. The patient experiences swings between manic episodes and major depression† (p. 291). According to Murphy (2006), â€Å"bipolar disorder can be like a roller-coaster, with exciting ‘highs’ and very frightening downhill plunges† (p. 58). Most patients are more likely to seek help when they are depressed or feel ‘bad;’ therefore, Goossens (2007) determines bipolar disorder is frequentlyRead MoreThe Most Effective Treatment Of Borderline Personality Disorder3392 Words   |  14 Pagespersonality disorder is defined in its most simplest sense as being a mental health disorder that generates significant emotional instability. [1] In sufferers it generates a wide range of symptoms typically characterised into three groups; Problems regulating emotions and thoughts; impulsive behaviour without thinking of the consequences of actions; and lastly unstable relationships. Evaluating the most effective treatment(s) for BPD remains a target for mental health services as the disorder is associated

Wednesday, May 6, 2020

Social Justice - Gender Example

Essays on Social Justice - Gender Book Report/Review Summary of Necropolitics, Narcopolitics, and Femicide: Gendered Violence on the Mexico-U.S. Border Necropolitics has been defined as synonymous to the idea of biopolitics or the used of the threat of violent death as a technique in governance. Necropolitics has prevailed because of drug gangs-related killings (narcopolitics) and massive, violent, and cruel deaths of women (femicide) on the Mexico U.S. boarder. In addition, violence and deaths were the results of government’s military strategy to disrupt the drug business. Since then, unprecedented violations of human and civil rights have been documented and a number of antifemicide activists also emerged to fight for social injustice and legal reforms concerning gender as the notion of masculinity contributed to violence and state-sanctioned impunity. In line with the idea of necropolitics, narcopolitics, femicide, and gendered-violence, Wright (2011) geared towards the demonstration of how antifemicide movements led to a dem ocratic Mexican state despite violence and how politics of gender are related to necropolitics (709). Supporting literatures from a number of scholars such as Mbembe, Michael Hardt, and Antonio Negri identified politics to the work of death where dead bodies served as the basis for occurring femicide and rational drug lords. The dead bodies provided the gender, location, scars, and mutilations associated with gendered violence. The discovery of these bodies was also significant in designing measures to protect the lives of Ciudad Juarez residents, advocating human rights, and understanding citizenship movements. This has also become a tool to understand that violence is perpetuated by businessmen who are engaged in illegal transactions and possessed masculine traits of competition, rationality, and violence. Therefore, the politics of death and the politics of gender go altogether wherein gender is central to the state’s production and their subject’s reproduction. Wor ks CitedWright, Melissa W. â€Å"Necropolitics, Narcopolitics, and Femicide: Gendered Violence on the Mexico-U.S. Border.† Journal of Women in Culture and Society (2011) (36)(3): 707-731.

Tuesday, May 5, 2020

Quantitative and Qualitative Mixed Models data Analysis

Question: Describe about the main ideas of Quantitative and Qualitative Mixed Models data Analysis methods? Answer: Section 1 Literature review and ANOVA Mixed model data analysis is consist with the two main important analysis processes such as qualitative data analysis and quantitative data analysis. When we get the output for an experiment as a number or quantity, then we use the quantitative data analysis. There are several data analysis process or methods are available for quantitative data set. We can perform descriptive statistical analysis or inferential statistical analysis which is depends on our research question. Sometimes, we get the qualitative data for some experiments and for this qualitative data; we cannot use all the methods which are useful for the quantitative data analysis. We use other statistical data analysis methods for the qualitative data analysis. There are several data analysis methods are available for the qualitative data analysis. For some experiment, we have available both types of data, that is, experiment produces qualitative and quantitative data at the same time, then we need to use the both types of data analysis methods, this types of data analysis is called as the mixed models data analysis. In the mixed model data analysis, the primary step is to identify the variables for which we want to study or analyse the data regarding some particular variables. To decide or fix our goal or aim is very important in the mixed model data analysis. For the both qualitative and quantitative data analysis, collection of data is very important step for further research. Without data we cannot draw the conclusions regarding our hypothesis or claims regarding the different variables under study. Collection of data consist of several methods, we can use different sampling methods for collection of data. it was found that if we get the big sample, then we get more accurate results. Also, collection of data in the systematic format is very important. It is very useful to divide the data according to different categories. Sometimes, in the qualitative data analysis, we are not given any catego ries or label, then we need to divide the variable according to categories, label to these categories and coding is also important in the qualitative data analysis process. After collection of data, for the quantitative data analysis, we simply apply the different descriptive statistical methods and inferential statistical methods. We can calculate the different values for parametric estimation or descriptive statistics. We can use the non-parametric methods sometimes. For the qualitative data analysis, we can apply different qualitative data analysis methods and then we can calculate the desirable statistic value for proving our goals or aims regarding the hypothesis or claims stated by researcher. After both types of data analysis, we can draw the conclusions for given variables or claims regarding the variables under study. In the descriptive statistics, we study the mean, mode, median, minimum, maximum, standard deviation, variance, range, skewness, kurtosis etc. There are lot of statistical softwares. We can use these softwares for getting the descriptive statistics values for the further analysis. In the inferential statistics, we apply the different statistical hypothesis tests for the given data. Selection of the proper test is very important in proving the claim or hypothesis under study. If we select the improper statistical tests, then we cannot get the correct conclusions. There are so many hypothesis tests are available and after checking all assumptions for using any particular test, we can apply this test to the given data and we can draw the conclusions for the given hypothesis stated for the test. After deciding the appropriate test, it is important to establish the null and alternative hypothesis for this test. This is nothing but the deciding our claim regarding the variable under study. After deciding our claim, we have to fix some level of significance or alpha value for the test. This is important because it gives us reliability or accuracy about the results of the test. In most of the times we take the level of significance as 5% or 0.05. Next step in the testing of hypothesis is to find the test statistic value and we can find this test statistic value by calculating the given formula for the test statistic. After finding the value for the test statistic value, we can find the p-value for the given value by using some statistical tables. Then we compare this p-value with the given level of significance or alpha value and then we take the decision regarding the null hypothesis according to the decision rule for the rejecting or not rejecting the null hypothesis. The decision rule for the rejecting or not rejecting the null hypothesis is given as below: Decision rule: We reject the null hypothesis if the p-value is the less than the given level of significance or alpha value and we do not reject the null hypothesis if the p-value is greater than the given level of significance or alpha value. Now, we have to see what is the ANOVA is. If we are given the two samples for testing the averages or means regarding the population data, then we can use the t test or z test. We can only use the z or t test when there are two samples. But many times, we need to compare more than two samples for the population means or averages for the given data set. In this condition, we use the ANOVA test instead of using the z or t test. Before applying the ANOVA test, we need to check some assumptions for this test. The null and alternative hypothesis for this test is given as below: Null hypothesis: H0: All population means for the all variables are same. Alternative hypothesis: Ha: All population means all variables are not same. We can also write these hypotheses as below: Null hypothesis: H0: There is no any significant difference in all population means. Alternative hypothesis: Ha: There is significant difference exists in the given population means. After applying this test, we get the test statistic value F for this test and then we can find the p-value for this test. At last, after comparing the p-value with the given level of significance or alpha value, we can take the decision about the null hypothesis regarding the given variables under study. Tests of independence In the quantitative and qualitative data analysis, sometimes we need to use the tests of independence for the given two categorical variables. In this test we check the claim that whether the given two categorical variables are independent or not. For example, we can check the hypothesis that the gender and education are independent from each other. One of the main important tests in testing the independence between two categorical variables is the chi square test for independence. Let us see this in detail given below: Chi square test for independence For checking the independence between the two categorical variables, we use the chi square test for independence. We use this chi square test for independence for the given two categorical variables from the single population. By using this test, we check the claim whether there is any association exists between the given two categorical variables or not. This test consists of some steps. First of all, preparation of the null and alternative hypothesis is very important because we have to decide what we have to prove by using this test. Then after, we fix some level of significance or alpha value for this test. Next step is to find the test statistic value for this test by using the formula given for this test. After finding the test statistic value, we find the p-value for this test. Then after, we can simply compare this p-value with the given level of significance or alpha value, and then we can take the decision regarding the null hypothesis for whether reject the null hypothesis or do not reject the null hypothesis that the given two categorical variables are independent. Also, there are some other tests for checking independence. We need to use these tests for independence according to available data and assumptions or conditions. Section 2 For the section 2, we have to search the five journal articles from the EBSCO or Google scholar. The following articles are taken from the Google scholar. Let us see all these articles step by step given below: 5 journal articles Article 1: Objectively Measured Sleep Characteristics among Early-Middle-Aged Adults The CARDIA Study Abstract In this article, the researcher finds out the relationship between the number of hours a person sleeping and the risk of cardiac problems. Researcher collects the data of 669 participants in the year 2003 to 2004 and then researcher use this data for statistical analysis. After doing this statistical analysis, researcher draw the conclusions about the relationship between the number of hours person sleeping and the risk of cardiac problems. For this research, researcher used the data of the early middle aged adults. https://aje.oxfordjournals.org/content/164/1/5.short Article 2: Sleep Habits and Patterns of College Students: A Preliminary Study Abstract: For this article, researcher studies the sleep habits and patterns of college students. Researcher collects the data for the number of hours student sleep and the marks obtained by the student in the college courses. Then researcher do some statistical analysis and draw some conclusions regarding the numbers of hours student sleeps and the marks obtained by student for different college courses. https://www.tandfonline.com/doi/abs/10.1080/07448480109596017#.VOHIeO_MT4g Article 3: Education and Stratification in Developing Countries Abstract This article is based on the study of education and inequality in development in regions. Also this article focuses on the relationship between the educational background and the families financial condition. For this purpose, researcher collects the data for some developing countries and then researcher do some statistical analysis and check his claims. After his research, he found that there is financial gap or economic gap in the different regions due to the education level of families in these regions. https://www.jstor.org/discover/10.2307/2678615?sid=21105361939691uid=4uid=2 Article 4: Wealth, Expenditures And Decision-Making For Education Abstract: This article is based on the wealth, expenditures and decision making for education. Researcher collects the data regarding the wealth; expenditure and education from some region and then researcher do some statistical data analysis. After doing this data analysis, researcher points out the some relationship between these three factors. https://eric.ed.gov/?id=ED001243 Article 5: A simulation study of crop growth and development under climate change Abstract: In this article, the researcher provides the simulation study of crop growth and development under the different climate change. Researcher collects data from different climatic conditions for the some crop and then researcher finds out that what is the effect of climate changes on the total yield of the crop production and the crop development. For this study, researcher used the different statistical regression models. https://www.sciencedirect.com/science/article/pii/0168192395022864 Section 3 In this section, we have to discuss the two articles out of five articles given in the second section. We select the article 1 and 2 for discussion. Let us see the discussions for these articles in detail: Article 1: Objectively Measured Sleep Characteristics among Early-Middle-Aged Adults The CARDIA Study Abstract Researcher collects the data for the number of hours the person sleep and the risk of cardiac problem. Researcher collects the data for the year 2003 2004. Researcher collects the data for the early middle aged adults. Researcher collects the data for the 669 participants. Researcher collects the data regarding to the time in bed, time required to fall asleep, sleep duration and sleep efficiency. All the participants were of the age group 38 50 years. out of the 669 participants, 58% were women. The percentage for the black persons was 44%. For this data, researcher get the mean time in bed was 7.5 hours with the standard deviation 1.2 hours. Researcher found the mean sleep latency time as 21.9 minutes with standard deviation 29 minutes. The mean sleep duration was found as 6.1 hours with the standard deviation 1.2 hours. Mean sleep efficiency was found as 80.9% with standard deviation 11.3%. Also it was found that average sleep duration for white women as 6.7 hours and for white m en, it was observed as 6.1 hours. For black women, it was 5.9 hours and for black men, it was observed as 5.1 hours. Researcher concluded that sleep duration and quality have the consequences for health and it is strongly associated with the race, sex and socioeconomic status of the person. https://aje.oxfordjournals.org/content/164/1/5.short Article 2: Sleep Habits and Patterns of College Students: A Preliminary Study Abstract: For this article, researcher collects the data for the college students for the total number of student sleeps and the marks obtained in the college courses. Data is collected for some US college students. Data is collected from the rural and urban areas for checking the relationship between the college performance and the regions. Also, researcher suggest that how the colleges and university officials alter procedures to minimize students sleep disturbances and reduce the deleterious effects of sleep problems on the academic performance. https://www.tandfonline.com/doi/abs/10.1080/07448480109596017#.VOHIeO_MT4g References: 1. David Freedman, Robert Pisani, Roger Purves, Statistics, 3rd ed., W. W. Norton Company, 1997.2. Morris H. DeGroot, Mark J. Schervish Probability and Statistics, 3rd ed., Addison Wesley, 2001.3. Leonard J. Savage, The Foundations of Statistics, 2nd ed., Dover Publications, Inc. New York, 1972.4. Robert V. Hogg, Allen T. Craig, Joseph W. McKean, An Introduction to Mathematical Statistics, 6th ed., Prentice Hall, 2004.5. George Casella, Roger L. Berger, Statistical Inference, 2nd ed., Duxbury Press, 2001.6. David R. Cox, D. V. Hinkley, Theoretical Statistics, Chapman Hall/CRC, 1979.7. Peter J. Bickel, Kjell A. Doksum, Mathematical Statistics, Volume 1, Basic Ideas and Selected Topics, 2rd ed. Prentice Hall, 2001.8. T. S. Ferguson, Mathematical Statistics: A Decision Theoretic Approach, Academic Press, Inc., New York, 19679. Harald Cramr, Mathematical Methods of Statistics, Princeton, 194610.Laubach RS, Koschnick K. Using Readability: Formulas for Easy Adult Materials. Syracuse, NY: New Readers Press, 1977. 11. SPSS-X Users Guide. 3rd edition. Chicago. IL: SPSS, Inc., 1988. 12.Doak L, Doak C. Patient comprehension profiles: recent findings and strategies. Patient Couns Health Educ. 1980;2:1016. 13.Anthony, R. N. and Herzlinger, R. E. (1980). Management Control in Nonprofit Organizations. Homewood, Ill: Irwin. 14. Balderston, F. E. (1975). Managing Today's University. San Francisco: Jossey-Bass.