Arquivo de dezembro de 2009

Feliz Ano Novo usando R

domingo, 27 de dezembro de 2009




Esta animação em Flash, foi  gerada por meio de um código escrito em R , que utiliza o pacote animation, criada por Yihui Xie.

Feliz Natal e que Deus nos abençoe no Ano vindouro!

quinta-feira, 24 de dezembro de 2009

CARTÃO-DE-NATAL (1)

Google uma das grandes empresas que utilizam o R.

quarta-feira, 16 de dezembro de 2009

tree

O R é uma linguagem e um ambiente open-source para desenvolver computação estatística e visualizações gráficas. Por meio do R é possível desenvolver uma ampla variedade de modelos estatísticos, tais como: Modelos lineares e não lineares, técnicas multivariadas, modelos de geoestatistica, redes sociais, etc. Este ambiente atualmetne conta com milhares de usuários inseridos em universidades e grandes empresas como por exemplo o Google, veja o artigo publicado no New York Times.

No Google, o R tem sido o pacote estatístico mais utilizado,  de acordo a declaração de Bo Cowgill – Quantitative Marketing Manager. Esta empresa também é um dos doadores da Fundação R.

Na opinião de Cowgill “A melhor coisa sobre  o R é que ele foi desenvolvido por estatísticos.  E a pior é que ele foi desenvolvido por  estatísticos” .
No entanto, ele é otimista ao ver que  como a comunidade de desenvolvedores de R expandiu, o seu desempenho e a documentação dos pacotes têm melhorado constantemente.

Segundo Cowgill, os colaboradores do Google que utilizam o R para desenvolver as análise estatísticas, o fazem em um ambiente local, e não comumente diretamente na produção.

O fluxo de trabalho típico que Cowgill utiliza é:

(i) Obter os dados com alguma ferramenta externa
(ii) Ler as tabelas a partir do R
(iii) Realizar análises e modelagem  com o R
(iv) Utilizar as bibliotecas de integração para obter o modelo em Python  ou C ++ e disponibilizar para o ambiente de produção.

O crescente uso de softwares open-souce pelas empresas, tem ratificado as novas tendências apontadas por especialistas de BI.
Este fato tem feito do R, mesmo sendo open, um dos importantes concorrentes das grandes empresas que atuam com ferramentas de soluções analíticas, veja a matéria da InfoWorld .

10 Characteristics of Superior Leaders

segunda-feira, 14 de dezembro de 2009

Thousands of articles and books have been published describing what it takes to be a superior organizational leader. Some researchers and authors claim a superior leader possesses certain traits or abilities; others say it’s all personality. Still others maintain it’s the behaviors–not necessarily the intentions or thoughts–that are crucial.

Whatever your viewpoint, it boils down to this: successful leaders share the following characteristics or views:

1 – Mission: Leaders know what their mission is. They know why the organization exists. A superior leader has a well thought out (often written) mission describing the purpose of the organization. That purpose need not be esoteric or abstract, but rather descriptive, clear and understandable. Every employee should be able to identify with the mission and strive to achieve it.
Thousands of articles and books have been published describing what it takes to be a superior organizational leader. Some researchers and authors claim a superior leader possesses certain traits or abilities; others say it’s all personality. Still others maintain it’s the behaviors–not necessarily the intentions or thoughts–that are crucial.

Whatever your viewpoint, it boils down to this: successful leaders share the following characteristics or views:

2- Vision: Where do you want your organization to go? A vision needs to be abstract enough to encourage people to imagine it but concrete enough for followers to see it, understand it and be willing to climb onboard to fulfill it.

3- Goal: How is the organization going to achieve its mission and vision and how will you measure your progress? Like a vision, goals need to be operational; that is specific and measurable. If your output and results can’t be readily measured, then it will be difficult to know if you have achieved your purpose. You may have wasted important resources (time, money, people, and equipment) pursuing a strategy or plan without knowing if it truly succeeded.

4- Competency: You must be seen by your advisors, stakeholders, employees, and the public as being an expert in your field or an expert in leadership. Unless your constituents see you as highly credentialed–either by academic degree or with specialized experience–and capable of leading your company to success, it will be more difficult for you to be as respected, admired, or followed.

Practically speaking, not all executives immediately possess all of the characteristics that spell success. Many leaders learn along the way with hard work. As crises and challenges arise, those at the top of the hierarchy have key opportunities to demonstrate to others that they are in fact, qualified to be leaders. In actuality, greater competency can be achieved as a leader gains more on-the-job experiences.

5- A strong team: Realistically, few executives possess all of the skills and abilities necessary to demonstrate total mastery of every requisite area within the organization. To complement the areas of weakness, a wise leader assembles effective teams of experienced, credentialed, and capable individuals who can supplement any voids in the leader’s skill set. This ability is what sets leaders apart from others. However, the leader needs to be willing to admit he lacks certain abilities and go about finding trusted colleagues to complement those deficiencies. After building the team, the entrepreneur needs to trust that team to understand issues, create solutions, and to act on them.

6- Communication skills: It does little good to have a strong mission, vision, and goals–and even a solid budget–if the executive cannot easily and effectively convey his ideas to the stakeholders inside and outside of the organization. He must regularly be in touch with key individuals, by email, v-mail, meetings, or other forms of correspondence. Of course, the best way to ensure other people receive and understand the message is with face-to-face interactions.

Getting out of the office or touring different sites is an irreplaceable method of building rapport and sending and receiving messages. “Management By Walking Around,” or MBWA, meeting employees at their workstations or conference rooms, or joining them for lunch are just a few of the many effective approaches leaders can use to develop positive contacts with employees.

7- Interpersonal skills: Successful entrepreneurs are comfortable relating to other people; they easily create rapport and are at least more extroverted than they are introverted. These factors help leaders seem approachable, likeable, and comfortable in their position. Those qualities contribute to staff wanting to interact with their leader. They also help motivate employees to do a better job. When workers can relate to their boss, they believe that their boss is more concerned about them, with their performance, and with their output. Furthermore, they believe that they can go to their boss with problems they encounter on the job without fearing consequences for not knowing how to resolve issues.

Not all entrepreneurs are adept at interpersonal skills. Those that aren’t, might find it helpful to take a course, choose a mentor or locate a therapist to help them build interpersonal skills. The intangible cost is too high to not improve these abilities. In addition, here’s where a strong team comes into play. The less experienced leader who is still learning these skills can rely on the team to get out and to “press the flesh,” interact with employees, and spread a positive attitude to help develop morale.

8- A “can do, get it done” attitude: Nothing builds a picture of success more than achievement, and achievement is the number one factor that motivates just about everyone across all cultures. When employees see that their boss can lead and direct, has a clear vision and attainable goals, and actually gains results in a timely manner, then that person’s credibility increases throughout the organization. Entrepreneurs must modestly demonstrate their skills to give their constituents valid reasons to appreciate and value their efforts.

9- Inspiration: Quite often, employees need someone to look up to for direction, guidance, and motivation. The entrepreneur needs to be that person. Hopefully, Human Resources has hired self-motivated individuals. Nevertheless, there are times, when many employees need the boss to inspire them by word or action. Employees need someone to look up to, admire, and follow. Even when the production or delivery of services looks like “it is all going well,” the leader may at times need to step in personally to offer a suggestion or encouragement to ensure that employees perform their jobs in an optimal manner.

10- Ambition: Resting on your laurels is bad for employee morale and entrepreneurial credibility. Employees need to be constantly striving for improvement and success; and they need to see the same and more in their leaders. When the boss is seen as someone who works to attain increasingly higher goals, employees will be impressed and more willing to mirror that behavior. It’s a win-win for everyone.

Seek pratice this characteristics inspiring and positive and you can almost guarantee that your results will be consistent with your efforts.

David G. Javitch, Ph.D., is Entrepreneur.com‘s columnist.

Análise de Redes Sociais no R

terça-feira, 8 de dezembro de 2009

Em um workshop o pesquisador Drew Conway demonstrou ao vivo uma  análise de redes sociais com uma base de dados  obtida através do Twitter.



Drew pediu para platéia postar Tweets a partir dos smartphones usando a mesma tag, em seguida, processou  um script no  R e por meio de um pacote chamado  TwitterR fez uma conexão com o Twitter  e  seguiu o relacionamento entre os membros da platéia que fizeram as postagens.



On demand. Fantástico!!

Abaixo está o gráfico que produziu após executar o script no R



Segue alguns processamentos que executei, funciona mesmo!


02_rstats_distant



08_rstats_key_block









As análises utilizando os pacotes do R também permitem realizar diversos métodos para avaliar os relacionamentos contido na rede.





03_hash_key_actor



04_rstats_dendrogram



É possível fazer o download deste e de outros exemplos de análise de rede social.



Diversos pacotes no R têm sido desenvolvido para realizar análises de redes sociais, por exemplo: Networks, SNA e o já citado TwitteR, este  apresenta funcionalidades bem interessantes para obter informações dos posts no Twitter.

Daqui para frente, cuidado com o que você posta nas comunidades online, pois você pode estar sendo analisado por algum destes pacotes.


Para quem se interessar em estudar mais sobre o assunto o Journal of Statistical Software, publicou uma série especial deste tema denominada – Statistical Modeling of Social Networks.


5a Encontro Estatístico Promovido pelo Conre-3

segunda-feira, 7 de dezembro de 2009
Convite do Encontro Estatístico

Convite do Encontro Estatístico

Como as redes sociais podem influenciar no atual paradigma da modelagem estatística?

terça-feira, 1 de dezembro de 2009



A Rede Social tem sido uma das formas mais usuais da representação dos relacionamentos entre indivíduos com interesses em comum. Na internet, as redes sociais são as comunidades online tais como: Orkut , Facebook, Linkdine MySpace, em que internautas se comunicam, criam comunidades e compartilham informações e interesses semelhantes.

Atualmente milhares de brasileiros fazem parte de uma ou mais comunidades online, segundo informações publicadas na Folha Online, o Facebook possui 250 milhões de usuários, o Twitter 44,5 milhões e o Orkut 35 milhões.

Nestas comunidades estão disponibilizadas diversas informações relevantes para empresa, tais como: opiniões sobre determinados produtos ou serviços adquiridos, novas pretenções de compra e principalmente a estrutura de interação entre os membros dentros destas comunidades. Neste contexto as análises com base nas redes sociais podem gerar informações estratégicas para as empresas.

Estas análises refletem uma mudança do individualismo comum para uma análise estrutural, buscando conectar pessoas e proporcionar sua comunicação, possibilitando forjar laços sociais.

Para ir além dos atributos individuais e considerar as relações entre os atores sociais, a análise das redes sociais busca focar em novas “unidades de análise”, tais como: relações (caracterizadas por conteúdo, direção e força), laços sociais (que conectam pares de atores através de uma ou mais relações), multiplexidade (quanto mais relações um laço social possui, maior a sua multiplexidade) e composição do laço social (derivada dos atributos individuais dos atores envolvidos).

SocialNet

Evidentemente este post não esgota o tema -redes sociais , o objetivo é, fazer uma breve apresentação sobre o assunto e provocar alguns questionamentos e reflexões.

  • Se não existe interação social como pressuposto para o estabelecimento dessas conexões no sistema, será que ele pode ser considerado uma rede social?
  • As conexões nas comuniades online (Facebook, Twitter, Orkut ) podem relamente representar conexões sociais?

Diante destas e de outras questões, nós profissionais que desenvolvemos modelagem, devemos avaliar não somente se os modelos se ajustam adequadamente, mas principalmente se entendemos as relações ligadas a raiz do problema a ser investigado.